Merge pull request #2016 from Jashank/destination-warning

This commit is contained in:
Parker Moore 2014-02-08 00:33:12 -05:00
commit 00ac5ff3d4
1 changed files with 11 additions and 0 deletions

View File

@ -24,6 +24,17 @@ $ jekyll build --watch
# watched for changes, and regenerated automatically.
{% endhighlight %}
<div class="note warning">
<h5>Destination folders are cleaned on site builds</h5>
<p>
The contents of <code>&lt;destination&gt;</code> 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 <code>&lt;destination&gt;</code>; instead, use it as
a staging area and copy files from there to your web server.
</p>
</div>
Jekyll also comes with a built-in development server that will allow you to
preview what the generated site will look like in your browser locally.