mirror of
https://github.com/thangisme/notes.git
synced 2024-11-10 15:15:58 -05: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…
Reference in New Issue
Block a user