mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02:00
document that docs/blog-only modes should delete the existing homepage
This commit is contained in:
parent
3c334d781c
commit
ce10646606
2 changed files with 12 additions and 0 deletions
|
@ -329,6 +329,12 @@ If you just want the documentation feature, you can enable "docs-only mode".
|
|||
|
||||
To achieve this, set the `routeBasePath` property of the `docs` object in `@docusaurus/preset-classic` in `docusaurus.config.js` to the root of your site, and also in that object set the `homePageId` property with the value of the document ID that you show as root of the docs.
|
||||
|
||||
:::caution
|
||||
|
||||
Don't forget to delete the existing homepage at `./src/pages/index.js`
|
||||
|
||||
:::
|
||||
|
||||
:::note
|
||||
|
||||
More details on functionality of home page for docs can be found in [appropriate section](#home-page-docs).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue