Switch from oslosphinx to openstackdocstheme
As part of the docs migration work[0] for Pike we need to switch to use
the openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I56c71ed3efd01b254567fbae5b35f8270261473b
Van Hung Pham
6 years ago
21 | 21 |
extensions = [
|
22 | 22 |
'sphinx.ext.autodoc',
|
23 | 23 |
#'sphinx.ext.intersphinx',
|
24 | |
'oslosphinx'
|
|
24 |
'openstackdocstheme',
|
25 | 25 |
]
|
26 | 26 |
|
27 | 27 |
# autodoc generation is a bit aggressive and a nuisance when doing heavy
|
|
52 | 52 |
|
53 | 53 |
# The theme to use for HTML and HTML Help pages. Major themes that come with
|
54 | 54 |
# Sphinx are currently 'default' and 'sphinxdoc'.
|
55 | |
# html_theme_path = ["."]
|
56 | |
# html_theme = '_theme'
|
57 | 55 |
# html_static_path = ['static']
|
|
56 |
html_theme = 'openstackdocs'
|
58 | 57 |
|
59 | 58 |
# Output file base name for HTML help builder.
|
60 | 59 |
htmlhelp_basename = '%sdoc' % project
|
|
60 |
|
|
61 |
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
|
62 |
# using the given strftime format.
|
|
63 |
# html_last_updated_fmt = '%b %d, %Y'
|
|
64 |
html_last_updated_fmt = '%Y-%m-%d %H:%M'
|
61 | 65 |
|
62 | 66 |
# Grouping the document tree into LaTeX files. List of tuples
|
63 | 67 |
# (source start file, target name, title, author, documentclass
|
|
71 | 75 |
|
72 | 76 |
# Example configuration for intersphinx: refer to the Python standard library.
|
73 | 77 |
#intersphinx_mapping = {'https://docs.python.org/3/': None}
|
|
78 |
|
|
79 |
# -- Options for openstackdocstheme -------------------------------------------
|
|
80 |
repository_name = 'openstack/castellan'
|
|
81 |
bug_project = 'castellan'
|
|
82 |
bug_tag = ''
|
6 | 6 |
python-barbicanclient>=4.0.0 # Apache-2.0
|
7 | 7 |
python-subunit>=0.0.18 # Apache-2.0/BSD
|
8 | 8 |
sphinx>=1.6.2 # BSD
|
9 | |
oslosphinx>=4.7.0 # Apache-2.0
|
|
9 |
openstackdocstheme>=1.11.0 # Apache-2.0
|
10 | 10 |
oslotest>=1.10.0 # Apache-2.0
|
11 | 11 |
testrepository>=0.0.18 # Apache-2.0/BSD
|
12 | 12 |
testscenarios>=0.4 # Apache-2.0/BSD
|