From 20f1fb6f10d79856efa3e426872aab720a3350c4 Mon Sep 17 00:00:00 2001 From: Masayuki Igawa Date: Mon, 5 Jun 2017 13:50:38 +0900 Subject: [PATCH] Update docs theme This commit updates the docs theme to the new one. The new theme is the standard of the openstack document. There is no reason to avoid to use it. Change-Id: If17ce35bd2ba50c3e1ae6e1567dcbe4be59d5189 --- doc/source/conf.py | 6 ++++-- doc/source/index.rst | 7 +++---- test-requirements.txt | 1 + 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index a649b13..72095ad 100755 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -15,6 +15,8 @@ import os import sys +import openstackdocstheme + sys.path.insert(0, os.path.abspath('../..')) # -- General configuration ---------------------------------------------------- @@ -54,8 +56,8 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. Major themes that come with # Sphinx are currently 'default' and 'sphinxdoc'. -# html_theme_path = ["."] -# html_theme = '_theme' +html_theme_path = [openstackdocstheme.get_html_theme_path()] +html_theme = 'openstackdocs' # html_static_path = ['static'] # Output file base name for HTML help builder. diff --git a/doc/source/index.rst b/doc/source/index.rst index 720d0e0..f79ea25 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -3,10 +3,12 @@ You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. +======================================================== Welcome to coverage2sql's documentation! ======================================================== -Contents: +Contents +======== .. toctree:: :maxdepth: 2 @@ -19,7 +21,4 @@ Contents: Indices and tables ================== -* :ref:`genindex` -* :ref:`modindex` * :ref:`search` - diff --git a/test-requirements.txt b/test-requirements.txt index 2a58c66..36ee7dd 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -19,3 +19,4 @@ os-testr>=0.8.0 # Apache-2.0 reno>=1.8.0 # Apache-2.0 oslo.concurrency>=3.8.0 # Apache-2.0 six>=1.9.0 # MIT +openstackdocstheme>=1.5.0 # Apache-2.0