-
Notifications
You must be signed in to change notification settings - Fork 1
Pages
Anton edited this page Dec 1, 2019
·
2 revisions
Publishing and editing GitHub pages.
https://developer.github.com/v3/repos/pages
EnablePages: Options to enable pages.
| Name | Type | Description | Default |
|---|---|---|---|
| branch | string | The branch, either master or gh-pages. |
master |
| path | string | When setting branch to master, this can be set to /docs,otherwise it has to be /. |
/docs |
Show Return Type
Page: The enabled page object.
| Name | Type & Description |
|---|---|
| url* | string |
https://api.github.com/repos/github/developer.github.com/pages
|
|
| status* | string |
built
|
|
| cname* | string |
developer.github.com
|
|
| custom_404* | boolean |
false
|
|
| html_url* | string |
https://developer.github.com
|
|
| source* | { branch: string, directory: string } |
|
The source. "source": {
"branch": "master",
"directory": "/"
} |