Skip to content

Commit 9a089d4

Browse files
authored
docs: add note about partials on Create doc page (facebook#5543)
1 parent 453d9c0 commit 9a089d4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

website/docs/guides/docs/docs-create-doc.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,14 @@ With <code>{#custom-id}</code> syntax you can set your own header id.
8484
</BrowserWindow>
8585
```
8686

87+
:::note
88+
89+
All files prefixed with an underscore (`_`) under the `docs` directory are treated as "partial" pages and will be ignored by default.
90+
91+
Read more about [importing partial pages](../markdown-features/markdown-features-react.mdx#importing-markdown).
92+
93+
:::
94+
8795
## Doc tags {#doc-tags}
8896

8997
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:

0 commit comments

Comments
 (0)