From 1d29f505c0dedffe0ef2915e640537f63a315d65 Mon Sep 17 00:00:00 2001 From: Frank Taillandier Date: Wed, 4 Oct 2017 17:36:37 +0200 Subject: [PATCH] Mark collection_dir as unreleased (#6412) Merge pull request 6412 --- docs/_docs/collections.md | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/docs/_docs/collections.md b/docs/_docs/collections.md index c29a83d5..a15cd71a 100644 --- a/docs/_docs/collections.md +++ b/docs/_docs/collections.md @@ -46,22 +46,14 @@ defaults: layout: page ``` -**From `v3.7.0`**: You can optionally specify a directory if you want to store all your collections -in the same place: +
+
Gather your collections
-```yaml -collections_dir: my_collections -collections: - books: - foo: bar - output: true - recipes: - foo: baz - output: true -``` +

From v3.7.0 you can optionally specify a directory to store all your collections in the same place with collections_dir: my_collections

-Then Jekyll will look in `my_collections/_books` for the `books` collection, and -in `my_collections/_recipes` for the `recipes` collection. +

Then Jekyll will look in my_collections/_books for the books collection, and + in my_collections/_recipes for the recipes collection.

+
### Step 2: Add your content {#step2}