summaryrefslogtreecommitdiffstats
path: root/Doc/conf.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-01-21 07:58:22 (GMT)
committerGeorg Brandl <georg@python.org>2012-01-21 07:58:22 (GMT)
commit27a4918c99e06bca4cb6b44163d6858318796455 (patch)
treec50765a08aa29357b7658f09fb60aff289a2187a /Doc/conf.py
parent0bb1251e1ac161feab778629b212b10543b8dd79 (diff)
downloadcpython-27a4918c99e06bca4cb6b44163d6858318796455.zip
cpython-27a4918c99e06bca4cb6b44163d6858318796455.tar.gz
cpython-27a4918c99e06bca4cb6b44163d6858318796455.tar.bz2
Fix conf.py for Sphinx 1.0.
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index b514bff..b6d212d 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -63,6 +63,9 @@ add_module_names = True
# 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,
# using the given strftime format.
html_last_updated_fmt = '%b %d, %Y'
@@ -83,7 +86,7 @@ html_additional_pages = {
}
# Output an OpenSearch description file.
-html_use_opensearch = 'http://docs.python.org/dev'
+html_use_opensearch = 'http://docs.python.org/'
# Additional static files.
html_static_path = ['tools/sphinxext/static']
@@ -112,8 +115,6 @@ latex_documents = [
'The Python/C API', _stdauthor, 'manual'),
('distutils/index', 'distutils.tex',
'Distributing Python Modules', _stdauthor, 'manual'),
- ('documenting/index', 'documenting.tex',
- 'Documenting Python', 'Georg Brandl', 'manual'),
('extending/index', 'extending.tex',
'Extending and Embedding Python', _stdauthor, 'manual'),
('install/index', 'install.tex',
@@ -151,7 +152,7 @@ latex_preamble = r'''
latex_appendices = ['glossary', 'about', 'license', 'copyright']
# 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
# --------------------------------