Switch from oslosphinx to openstackdocstheme

openstackdocstheme is a theme and extension support for Sphinx
documentation that is published to docs.openstack.org
and developer.openstack.org.

Change-Id: Iaa40faa4292c2626b4e3344112eac4b806cfa6e7
This commit is contained in:
Nguyen Hai 2018-05-16 15:56:30 +09:00
parent e17c2a8060
commit 55c0663465
4 changed files with 8 additions and 10 deletions

View File

@ -21,8 +21,7 @@ sys.path.insert(0, os.path.abspath('../..'))
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
'oslosphinx'
'openstackdocstheme'
]
# autodoc generation is a bit aggressive and a nuisance when doing heavy
@ -52,10 +51,7 @@ pygments_style = 'sphinx'
# -- Options for HTML output --------------------------------------------------
# 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 = 'default'
# html_static_path = ['static']
html_theme = 'openstackdocs'
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project

View File

@ -4,7 +4,7 @@
contain the root `toctree` directive.
Welcome to tosca-parser's documentation!
===========================================
========================================
The TOSCA Parser is developed to parse TOSCA Simple Profile in YAML. It reads
the TOSCA templates and creates an in-memory graph of TOSCA nodes and their
@ -22,6 +22,7 @@ creating a module in the "toscaparser/extensions" directory. See the "nfv"
module for an example.
Contents:
---------
.. toctree::
:maxdepth: 2
@ -31,7 +32,7 @@ Contents:
contributing
Indices and tables
==================
------------------
* :ref:`genindex`
* :ref:`modindex`

View File

@ -18,6 +18,7 @@ MarkupSafe==1.0
mccabe==0.2.1
mock==2.0.0
mox3==0.20.0
openstackdocstheme==1.18.1
os-client-config==1.28.0
oslosphinx==4.7.0
oslotest==3.2.0

View File

@ -5,9 +5,9 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
oslotest>=3.2.0 # Apache-2.0
oslosphinx>=4.7.0 # Apache-2.0
openstackdocstheme>=1.18.1 # Apache-2.0
python-subunit>=1.0.0 # Apache-2.0/BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
sphinx!=1.6.6,!=1.6.7,>=1.6.5 # BSD
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT