From 6c6c8b071ca6f5b624c0d8a73d4d60900c61105d Mon Sep 17 00:00:00 2001 From: ashmaroli Date: Tue, 3 Oct 2017 13:26:42 +0530 Subject: [PATCH] Fix docs for the new `collections_dir` feature (#6408) Merge pull request 6408 --- docs/_docs/collections.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/_docs/collections.md b/docs/_docs/collections.md index 3d42bd88..c29a83d5 100644 --- a/docs/_docs/collections.md +++ b/docs/_docs/collections.md @@ -46,12 +46,18 @@ defaults: layout: page ``` -**New**: You can optionally specify a directory if you want to store all your collections +**From `v3.7.0`**: You can optionally specify a directory if you want to store all your collections in the same place: ```yaml +collections_dir: my_collections collections: - collections_dir: my_collections + books: + foo: bar + output: true + recipes: + foo: baz + output: true ``` Then Jekyll will look in `my_collections/_books` for the `books` collection, and