Test for FEED & FEED_RSS before generation.

Then we bypass all feed generation of both are set to None or throw a warning if SITEURL is unset.
Updated all documentation, to make sure the usage and warning is clear.
This commit is contained in:
tBunnyMan 2012-07-14 17:05:04 -07:00
commit d9817f9a96
4 changed files with 29 additions and 2 deletions

View file

@ -25,6 +25,7 @@ _DEFAULT_CONFIG = {'PATH': '.',
'CATEGORY_FEED': 'feeds/%s.atom.xml',
'TRANSLATION_FEED': 'feeds/all-%s.atom.xml',
'FEED_MAX_ITEMS': '',
'SITEURL': '',
'SITENAME': 'A Pelican Blog',
'DISPLAY_PAGES_ON_MENU': True,
'PDF_GENERATOR': False,