docs(collections): Add warning about mandatory _-prefix (#1091)

* docs(collections): Add warning about mandatory `_`-prefix

* Apply recommended wording
This commit is contained in:
Flo
2022-12-27 17:56:44 +01:00
committed by GitHub
parent c1c44e88cf
commit 0b44f5ba7f

View File

@@ -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/).
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:
```yaml