mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-17 00:22:24 -06:00
Improved documentation for doc_collections
This commit is contained in:
parent
b4b74f7e1d
commit
7dec48433b
@ -24,11 +24,11 @@ View this site's [_config.yml](https://github.com/pmarsceill/just-the-docs/tree/
|
|||||||
|
|
||||||
## Document collections
|
## Document collections
|
||||||
|
|
||||||
By default, the navigation display normal [pages](https://jekyllrb.com/docs/pages/).
|
By default, the navigation and search include normal [pages](https://jekyllrb.com/docs/pages/).
|
||||||
Instead, you can also use [Jekyll collections](https://jekyllrb.com/docs/collections/).
|
Instead, you can also use [Jekyll collections](https://jekyllrb.com/docs/collections/).
|
||||||
Collections group documents that semantically belong together.
|
Collections group documents that semantically belong together.
|
||||||
|
|
||||||
For example, to group all documentation, put all your files in the `_docs` folder and create the `docs` collection:
|
For example, to group all documentation put all your files in the `_docs` folder and create the `docs` collection:
|
||||||
```yaml
|
```yaml
|
||||||
# Define Jekyll collections
|
# Define Jekyll collections
|
||||||
collections:
|
collections:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user