From: Michael Hanke Date: Mon, 26 Sep 2011 12:42:25 +0000 (+0200) Subject: BF: Fix feed extension issues introduced by update X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=eb194ced3d0aad7d047c5a13d9ffa004469d91db;p=neurodebian.git BF: Fix feed extension issues introduced by update --- diff --git a/sphinx/sphinxext/feed/__init__.py b/sphinx/sphinxext/feed/__init__.py index 35faeb4..751e336 100644 --- a/sphinx/sphinxext/feed/__init__.py +++ b/sphinx/sphinxext/feed/__init__.py @@ -4,7 +4,6 @@ import feedgenerator from urllib import quote_plus import os.path import re -import directives #global feed_entries = None @@ -28,9 +27,9 @@ def setup(app): """ from sphinx.application import Sphinx if not isinstance(app, Sphinx): return - app.add_config_value('feed_title', '', 'html') app.add_config_value('feed_base_url', '', 'html') app.add_config_value('feed_description', '', 'html') + app.add_config_value('feed_filename', 'rss.xml', 'html') app.add_config_value('feed_title', '', 'html') app.add_config_value('feed_subtitle', '', 'html') app.add_config_value('feed_author_name', '', 'html')