From e938e10c6a50ce720fed0095878008dd019ade6b Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Thu, 1 Feb 2018 17:29:31 -0800 Subject: [PATCH] Update docs config for storyboard bugs This patch updates the docs configuration to have bugs links that take the reporter to storyboad instead of launchpad. It also sets the docs up for multiple versions of the documentation. Change-Id: I1e22125708193c3d8ef43a6dd830b2d5b7a7ea42 --- doc/source/conf.py | 8 +++++++- releasenotes/source/conf.py | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 58ac0a81..a334a946 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -75,7 +75,7 @@ pygments_style = 'sphinx' html_theme = 'openstackdocs' html_theme_options = { - 'display_toc': False + 'show_other_versions': True } html_static_path = [] @@ -99,6 +99,12 @@ latex_documents = [ # A list of ignored prefixes for module index sorting. modindex_common_prefix = ['octavia-dashboard.'] +# openstackdocstheme options +repository_name = 'openstack/octavia-dashboard' +bug_project = '909' +bug_tag = 'docs' + + # TODO(mordred) We should extract this into a sphinx plugin def run_apidoc(_): diff --git a/releasenotes/source/conf.py b/releasenotes/source/conf.py index 1fbaf876..633741c8 100644 --- a/releasenotes/source/conf.py +++ b/releasenotes/source/conf.py @@ -49,7 +49,7 @@ extensions = [ # openstackdocstheme options repository_name = 'openstack/octavia-dashboard' -bug_project = 'octavia' +bug_project = '909' bug_tag = 'doc' # Add any paths that contain templates here, relative to this directory.