docs: add note about partials on Create doc page (#5543)

This commit is contained in:
Kyriet 2021-09-11 11:42:17 +02:00 committed by GitHub
parent 453d9c099d
commit 9a089d4886
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,6 +84,14 @@ With <code>{#custom-id}</code> syntax you can set your own header id.
</BrowserWindow>
```
:::note
All files prefixed with an underscore (`_`) under the `docs` directory are treated as "partial" pages and will be ignored by default.
Read more about [importing partial pages](../markdown-features/markdown-features-react.mdx#importing-markdown).
:::
## Doc tags {#doc-tags}
Optionally, you can add tags to your doc pages, which introduces another dimension of categorization in addition to the [docs sidebar](./sidebar.md). Tags are passed in the front matter as a list of labels: