|
11 | 11 | # All configuration values have a default; values that are commented out |
12 | 12 | # serve to show the default. |
13 | 13 |
|
14 | | -import sys |
15 | | -import os |
16 | | - |
17 | 14 | # If extensions (or modules to document with autodoc) are in another directory, |
18 | 15 | # add these directories to sys.path here. If the directory is relative to the |
19 | 16 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
|
26 | 23 |
|
27 | 24 | # Add any Sphinx extension module names here, as strings. They can be extensions |
28 | 25 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
29 | | -extensions = [ 'sphinx.ext.autodoc', 'zuul_sphinx', 'openstackdocstheme', 'sphinxcontrib.blockdiag', 'sphinxcontrib.nwdiag' ] |
| 26 | +extensions = [ 'sphinx.ext.autodoc', |
| 27 | + 'zuul_sphinx', |
| 28 | + 'openstackdocstheme', |
| 29 | + 'sphinxcontrib.blockdiag', |
| 30 | + 'sphinxcontrib.nwdiag' ] |
30 | 31 |
|
31 | 32 | # openstackdocstheme options |
32 | 33 | repository_name = 'openstack-dev/devstack' |
33 | 34 | bug_project = 'devstack' |
34 | 35 | bug_tag = '' |
35 | | -html_last_updated_fmt = '%Y-%m-%d %H:%M' |
36 | 36 |
|
37 | 37 | todo_include_todos = True |
38 | 38 |
|
|
119 | 119 | # pixels large. |
120 | 120 | #html_favicon = None |
121 | 121 |
|
122 | | -# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
123 | | -# using the given strftime format. |
124 | | -git_cmd = "git log --pretty=format:'%ad, commit %h' --date=local -n1" |
125 | | -html_last_updated_fmt = os.popen(git_cmd).read() |
126 | | - |
127 | 122 | # If true, SmartyPants will be used to convert quotes and dashes to |
128 | 123 | # typographically correct entities. |
129 | 124 | #html_use_smartypants = True |
|
167 | 162 |
|
168 | 163 | # -- Options for LaTeX output -------------------------------------------------- |
169 | 164 |
|
170 | | -latex_elements = { |
171 | | -# The paper size ('letterpaper' or 'a4paper'). |
172 | | -#'papersize': 'letterpaper', |
173 | | - |
174 | | -# The font size ('10pt', '11pt' or '12pt'). |
175 | | -#'pointsize': '10pt', |
176 | | - |
177 | | -# Additional stuff for the LaTeX preamble. |
178 | | -#'preamble': '', |
179 | | -} |
180 | | - |
181 | 165 | # Grouping the document tree into LaTeX files. List of tuples |
182 | 166 | # (source start file, target name, title, author, documentclass [howto/manual]). |
183 | 167 | latex_documents = [ |
|
0 commit comments