From 2eb58c2132a3db2f9819ab75cb55c06fcccdc05e Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Mon, 27 Oct 2014 15:33:34 -0400 Subject: [PATCH] Add RSS feed Set up yasfb to generate an RSS feed for approved specs. Change-Id: I206063c72b17afc54992b037c3f7cc61eb393a47 --- doc/source/conf.py | 9 +++++++-- requirements.txt | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 81691f9..926d71e 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -23,7 +23,8 @@ sys.path.insert(0, os.path.abspath('../..')) extensions = [ 'sphinx.ext.autodoc', #'sphinx.ext.intersphinx', - 'oslosphinx' + 'oslosphinx', + 'yasfb', ] # Optionally allow the use of sphinxcontrib.spelling to verify the @@ -34,6 +35,10 @@ try: except ImportError: pass +# Feed configuration for yasfb +feed_base_url = 'http://specs.openstack.org/openstack/trove-specs' +feed_author = 'OpenStack Development Team' + # autodoc generation is a bit aggressive and a nuisance when doing heavy # text edit cycles. # execute "export SPHINX_DEBUG=1" in your terminal to disable @@ -80,4 +85,4 @@ latex_documents = [ ] # Example configuration for intersphinx: refer to the Python standard library. -#intersphinx_mapping = {'http://docs.python.org/': None} \ No newline at end of file +#intersphinx_mapping = {'http://docs.python.org/': None} diff --git a/requirements.txt b/requirements.txt index 6e29eb6..bf63030 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ pbr>=0.6,<1.0 oslosphinx sphinx>=1.1.2,<1.2 +yasfb>=0.5.1