mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-21 10:32:24 -06:00
docs(collections): Add warning about mandatory _
-prefix (#1091)
* docs(collections): Add warning about mandatory `_`-prefix * Apply recommended wording
This commit is contained in:
parent
c1c44e88cf
commit
0b44f5ba7f
@ -233,6 +233,9 @@ ga_tracking: "UA-1234567-89,G-1AB234CDE5"
|
|||||||
By default, the navigation and search include normal [pages](https://jekyllrb.com/docs/pages/).
|
By default, the navigation and search include normal [pages](https://jekyllrb.com/docs/pages/).
|
||||||
You can also use [Jekyll collections](https://jekyllrb.com/docs/collections/) which group documents semantically together.
|
You can also use [Jekyll collections](https://jekyllrb.com/docs/collections/) which group documents semantically together.
|
||||||
|
|
||||||
|
{: .warning }
|
||||||
|
> Collection folders always start with an underscore (`_`), e.g. `_tests`. You won't see your collections if you omit the prefix.
|
||||||
|
|
||||||
For example, put all your test files in the `_tests` folder and create the `tests` collection:
|
For example, put all your test files in the `_tests` folder and create the `tests` collection:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user