mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-24 21:48:02 +02:00
feat(sitemap): remove trailingSlash option; respect noIndex config (#6248)
This commit is contained in:
parent
37b70e3ab4
commit
8fe1ddf46a
7 changed files with 23 additions and 57 deletions
|
@ -42,6 +42,15 @@ Accepted fields:
|
|||
|
||||
</APITable>
|
||||
|
||||
:::info
|
||||
|
||||
This plugin also respects some site config:
|
||||
|
||||
- [`noIndex`](../docusaurus.config.js.md#noindex): results in no sitemap generated
|
||||
- [`trailingSlash`](../docusaurus.config.js.md#trailing-slash): determines if the URLs in the sitemap have trailing slashes
|
||||
|
||||
:::
|
||||
|
||||
### Example configuration {#ex-config}
|
||||
|
||||
You can configure this plugin through preset options or plugin options.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue