summaryrefslogtreecommitdiffstats
path: root/Doc/conf.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-12-16 19:36:51 (GMT)
committerGeorg Brandl <georg@python.org>2007-12-16 19:36:51 (GMT)
commiteee1fc51ba1b4d184a8176c20d1d3a68bf837c97 (patch)
tree3ad4fee726f9ea3766e18f60688b1130b2644a35 /Doc/conf.py
parent1bd51e3eec73d594576389a43d98fcd90c5f3860 (diff)
downloadcpython-eee1fc51ba1b4d184a8176c20d1d3a68bf837c97.zip
cpython-eee1fc51ba1b4d184a8176c20d1d3a68bf837c97.tar.gz
cpython-eee1fc51ba1b4d184a8176c20d1d3a68bf837c97.tar.bz2
Adapt conf.py to new option names.
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py38
1 files changed, 27 insertions, 11 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index 944dd68..8e1c39d 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -4,7 +4,9 @@
#
# The contents of this file are pickled, so don't put values in the namespace
# that aren't pickleable (module imports are okay, they're removed automatically).
-#
+
+# General configuration
+# ---------------------
# The default replacements for |version| and |release|.
# If 'auto', Sphinx looks for the Include/patchlevel.h file in the current Python
@@ -23,9 +25,6 @@ today = ''
# Else, today_fmt is used as the format for a strftime call.
today_fmt = '%B %d, %Y'
-# The base URL for download links.
-download_base_url = 'http://docs.python.org/ftp/python/doc/'
-
# List of files that shouldn't be included in the build.
unused_files = [
'whatsnew/2.0.rst',
@@ -39,17 +38,34 @@ unused_files = [
'library/xml.etree.rst',
]
+# If true, '()' will be appended to :func: etc. cross-reference text.
+add_function_parentheses = True
+
+# If true, the current module name will be prepended to all description
+# unit titles (such as .. function::).
+add_module_names = True
+
+
+# Options for HTML output
+# -----------------------
+
+# The base URL for download links.
+html_download_base_url = 'http://docs.python.org/ftp/python/doc/'
+
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
-last_updated_format = '%b %d, %Y'
+html_last_updated_fmt = '%b %d, %Y'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
-use_smartypants = True
+html_use_smartypants = True
-# If true, '()' will be appended to :func: etc. cross-reference text.
-add_function_parentheses = True
-# If true, the current module name will be prepended to all description
-# unit titles (such as .. function::).
-add_module_names = True
+# Options for LaTeX output
+# ------------------------
+
+# The paper size ("letter" or "a4").
+latex_paper_size = "a4"
+
+# The font size ("10pt", "11pt" or "12pt").
+latex_font_size = "10pt"