Add RSS feed

Publish an RSS feed of the changes to the specs repository to make the
specs more discoverable.

Do not include the template in the toctree so it will not be included in
the RSS feed.

Use the doc build date to produce the copyright string instead of using
a hard-coded value.

Change-Id: Ib4f84efab8b3af3ddd47d38d63a91362612bd655
This commit is contained in:
Doug Hellmann 2014-09-10 15:30:57 -04:00
parent 958106f0de
commit d8f004af75
3 changed files with 13 additions and 3 deletions

View File

@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import datetime
import os
import sys
@ -23,7 +24,16 @@ sys.path.insert(0, os.path.abspath('../..'))
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
'oslosphinx'
'oslosphinx',
'yasfb',
]
# Feed configuration for yasfb
feed_base_url = 'http://specs.openstack.org/openstack/{{cookiecutter.repo_name}}'
feed_author = 'OpenStack Development Team'
exclude_patterns = [
'template.rst',
]
# Optionally allow the use of sphinxcontrib.spelling to verify the
@ -46,7 +56,7 @@ master_doc = 'index'
# General information about the project.
project = u'{{cookiecutter.repo_name}}'
copyright = u'2013, OpenStack Foundation'
copyright = u'%s, OpenStack Foundation' % datetime.date.today().year
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True

View File

@ -21,7 +21,6 @@
README <readme>
contributing
Sample Template <template>
Indices and tables

View File

@ -2,3 +2,4 @@ pbr>=0.6,<1.0
docutils==0.9.1
oslosphinx
sphinx>=1.1.2,<1.2
yasfb>=0.5.1