From f228b31c2e2d9138a97fc2b593a26f541ed39f98 Mon Sep 17 00:00:00 2001 From: "jaybe@jekyll" Date: Sun, 11 Jan 2015 13:11:29 -0600 Subject: [PATCH 1/2] Update configuration.md Clarify ability to retain generated content in `destination` via the `keep_files` configuration directive. --- site/_docs/configuration.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/site/_docs/configuration.md b/site/_docs/configuration.md index c9ddd915..6fa4d79d 100644 --- a/site/_docs/configuration.md +++ b/site/_docs/configuration.md @@ -155,9 +155,11 @@ class="flag">flags (specified on the command-line) that control them.
Destination folders are cleaned on site builds

The contents of <destination> are automatically - cleaned when the site is built. Files or folders that are not - created by your site will be removed. Do not use an important - location for <destination>; instead, use it as + cleaned, by default, when the site is built. Files or folders that are not + created by your site will be removed. The <keep_files> configuration directive can optionally retain generated content in `destination`. +

+

+ Do not use an important location for <destination>; instead, use it as a staging area and copy files from there to your web server.

From 312717b56dcdcf364b763f818925e36a125c63ad Mon Sep 17 00:00:00 2001 From: "jaybe@jekyll" Date: Sun, 11 Jan 2015 18:08:05 -0600 Subject: [PATCH 2/2] Update configuration.md Tweak and simplify language re: `keep_files` and `destination` directory. --- site/_docs/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/_docs/configuration.md b/site/_docs/configuration.md index 6fa4d79d..7a75bd69 100644 --- a/site/_docs/configuration.md +++ b/site/_docs/configuration.md @@ -156,7 +156,7 @@ class="flag">flags (specified on the command-line) that control them.

The contents of <destination> are automatically cleaned, by default, when the site is built. Files or folders that are not - created by your site will be removed. The <keep_files> configuration directive can optionally retain generated content in `destination`. + created by your site will be removed. Some files could be retained by specifying them within the <keep_files> configuration directive.

Do not use an important location for <destination>; instead, use it as