Fix conf.py for Sphinx 1.0.
This commit is contained in:
parent
0bb1251e1a
commit
27a4918c99
|
@ -63,6 +63,9 @@ add_module_names = True
|
||||||
# Options for HTML output
|
# Options for HTML output
|
||||||
# -----------------------
|
# -----------------------
|
||||||
|
|
||||||
|
html_theme = 'default'
|
||||||
|
html_theme_options = {'collapsiblesidebar': True}
|
||||||
|
|
||||||
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||||
# using the given strftime format.
|
# using the given strftime format.
|
||||||
html_last_updated_fmt = '%b %d, %Y'
|
html_last_updated_fmt = '%b %d, %Y'
|
||||||
|
@ -83,7 +86,7 @@ html_additional_pages = {
|
||||||
}
|
}
|
||||||
|
|
||||||
# Output an OpenSearch description file.
|
# Output an OpenSearch description file.
|
||||||
html_use_opensearch = 'http://docs.python.org/dev'
|
html_use_opensearch = 'http://docs.python.org/'
|
||||||
|
|
||||||
# Additional static files.
|
# Additional static files.
|
||||||
html_static_path = ['tools/sphinxext/static']
|
html_static_path = ['tools/sphinxext/static']
|
||||||
|
@ -112,8 +115,6 @@ latex_documents = [
|
||||||
'The Python/C API', _stdauthor, 'manual'),
|
'The Python/C API', _stdauthor, 'manual'),
|
||||||
('distutils/index', 'distutils.tex',
|
('distutils/index', 'distutils.tex',
|
||||||
'Distributing Python Modules', _stdauthor, 'manual'),
|
'Distributing Python Modules', _stdauthor, 'manual'),
|
||||||
('documenting/index', 'documenting.tex',
|
|
||||||
'Documenting Python', 'Georg Brandl', 'manual'),
|
|
||||||
('extending/index', 'extending.tex',
|
('extending/index', 'extending.tex',
|
||||||
'Extending and Embedding Python', _stdauthor, 'manual'),
|
'Extending and Embedding Python', _stdauthor, 'manual'),
|
||||||
('install/index', 'install.tex',
|
('install/index', 'install.tex',
|
||||||
|
@ -151,7 +152,7 @@ latex_preamble = r'''
|
||||||
latex_appendices = ['glossary', 'about', 'license', 'copyright']
|
latex_appendices = ['glossary', 'about', 'license', 'copyright']
|
||||||
|
|
||||||
# Get LaTeX to handle Unicode correctly
|
# Get LaTeX to handle Unicode correctly
|
||||||
latex_elements = {'inputenc': r'\usepackage[utf8x]{inputenc}'}
|
latex_elements = {'inputenc': r'\usepackage[utf8x]{inputenc}', 'utf8extra': ''}
|
||||||
|
|
||||||
# Options for the coverage checker
|
# Options for the coverage checker
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
|
|
Loading…
Reference in New Issue