From 5d06610897d5d5d60bf6db539bc44a53608ca750 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 12 Sep 2017 20:16:49 +0200 Subject: [PATCH] Use sidebar from openstackdocstheme 1.17 Require openstackdocstheme 1.17.0 which has support for sidebar, so the specific code here is not needed, remove it again. This reverts Ie4b4deff12071e447c2b491a3247efc08bb8a9ad - in addition to the requirements change. Change-Id: I9576e24293b8c4dea00af52ad67ad0d7d8d0f0bc --- doc/source/conf.py | 5 ----- doc/source/static/css/sidebar.css | 12 ------------ requirements.txt | 2 +- 3 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 doc/source/static/css/sidebar.css diff --git a/doc/source/conf.py b/doc/source/conf.py index 5ba2c66..b01b89d 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -93,11 +93,6 @@ man_pages = [] # a list of builtin themes. html_theme = 'openstackdocs' -def setup(app): - app.add_stylesheet('css/sidebar.css') - -html_static_path = ['static'] - # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. diff --git a/doc/source/static/css/sidebar.css b/doc/source/static/css/sidebar.css deleted file mode 100644 index b19951f..0000000 --- a/doc/source/static/css/sidebar.css +++ /dev/null @@ -1,12 +0,0 @@ -div.sidebar { - margin: 0 0 0.5em 1em; - border: 1px solid #ddb; - padding: 7px 7px 0 7px; - background-color: #ffe; - width: 40%; - float: right; -} - -p.sidebar-title { - font-weight: bold; -} diff --git a/requirements.txt b/requirements.txt index 260a61f..df48d23 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,5 +2,5 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. pbr>=2.0.0,!=2.1.0 # Apache-2.0 -openstackdocstheme>=1.11.0 # Apache-2.0 +openstackdocstheme>=1.17.0 # Apache-2.0 sphinx>=1.6.2 # BSD