mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 02:08:55 +02:00
docs: improve explanation for url config in GH Pages (#6006)
This commit is contained in:
parent
c916d8a49a
commit
b1a4f3913d
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ Each GitHub repository is associated with a GitHub Pages service. If the deploym
|
||||||
|
|
||||||
:::info
|
:::info
|
||||||
|
|
||||||
In case you want to use your custom domain for GitHub Pages, create a `CNAME` file in the `static` directory. Anything within the `static` directory will be copied to the root of the `build` directory for deployment. When using a custom domain, you should be able to move back from `baseUrl: '/projectName/'` to `baseUrl: '/'`.
|
In case you want to use your custom domain for GitHub Pages, create a `CNAME` file in the `static` directory. Anything within the `static` directory will be copied to the root of the `build` directory for deployment. When using a custom domain, you should be able to move back from `baseUrl: '/projectName/'` to `baseUrl: '/'`, and also set your `url` to your custom domain.
|
||||||
|
|
||||||
You may refer to GitHub Pages' documentation [User, Organization, and Project Pages](https://help.github.com/en/articles/user-organization-and-project-pages) for more details.
|
You may refer to GitHub Pages' documentation [User, Organization, and Project Pages](https://help.github.com/en/articles/user-organization-and-project-pages) for more details.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue