pelican/docs
Justin Mayer 6f36b0a246 Keep certain files when cleaning output; fix #574
If DELETE_OUTPUT_DIRECTORY is set to True, all files and directories are
deleted from the output directory. There are, however, several reasons
one might want to retain certain files/directories and avoid their
deletion from the output directory. One such use case is version control
system data: a versioned output directory can facilitate deployment via
Heroku and/or allow the user to easily revert to a prior version of the
site without having to rely on regeneration via Pelican.

This change introduces the OUTPUT_RETENTION setting, a tuple of
filenames that will be preserved when the clean_output_dir function in
pelican.utils is run. Setting OUTPUT_RETENTION = (".hg", ".git") would,
for example, prevent the relevant VCS data from being deleted when the
output directory is cleaned.
2013-06-25 19:03:32 -07:00
..
_static add some docs written a long time ago 2011-11-30 21:11:50 +01:00
_themes update the theme (logo) 2011-04-26 00:40:16 +01:00
fr revert #523 2012-12-03 22:35:11 +01:00
changelog.rst Update changelog 2013-06-15 12:24:48 -07:00
conf.py Convert '.' and '..' to the less magical os.curdir and os.pardir 2013-03-21 12:44:44 -04:00
contribute.rst Drop python 3.2 support and move to python 3.3. 2013-06-02 16:23:36 +02:00
faq.rst Add more detail to Pygments FAQ entry. Fixes #821 2013-05-06 07:28:25 -07:00
getting_started.rst Merge pull request #795 from wking/read-file 2013-06-15 11:54:32 -07:00
importer.rst Merge pull request #881 from ben2367/patch-1 2013-05-14 11:36:14 -07:00
index.rst Minor documentation improvements 2013-04-16 10:13:47 -07:00
internals.rst add documentation for html reader 2013-01-28 21:50:09 -05:00
Makefile Add the docs 2010-10-13 23:08:08 +01:00
pelican-themes.rst Eliminate extraneous whitespace 2012-10-12 23:01:50 +02:00
plugins.rst docs/plugins.rst: Document signal name changes 2013-06-12 17:37:21 -04:00
report.rst Eliminate extraneous whitespace 2012-10-12 23:01:50 +02:00
settings.rst Keep certain files when cleaning output; fix #574 2013-06-25 19:03:32 -07:00
themes.rst adds a 'strftime' jinja fiter that uses LOCALE 2013-04-21 18:00:12 -04:00
tips.rst Improve Publishing to GitHub section of the doc 2013-01-01 01:01:19 +01:00