mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 10:22:30 +02:00
fix(v2): do not create route for document that serve as docs home page (#2861)
This commit is contained in:
parent
6797af660f
commit
e68b81bc33
3 changed files with 36 additions and 52 deletions
|
@ -61,7 +61,7 @@ module.exports = {
|
|||
};
|
||||
```
|
||||
|
||||
Given the example above, now when you navigate to the path `/docs` you will see that the document content with id is `getting-started`. This functionality also works for docs with versioning enabled.
|
||||
Given the example above, now when you navigate to the path `/docs` you will see that the document content with id is `getting-started`. This functionality also works for docs with versioning enabled. Importantly, with document serves as home docs page, it will not be available at its URL. Following the example above, this means that the `docs/getting-started` URL will be lead to a 404 error.
|
||||
|
||||
:::important
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue