summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-05-23 11:00:48 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-05-23 11:00:48 -0400
commitc72eff754646c1a8a54dcf810523b34b0c85ec43 (patch)
treec0fed0c2ceccd6da4fba00f505e6bf4d024e8bc0 /doc/conf.py
parent81764c5b59c9bf323aa0bf689301a97d629d8402 (diff)
downloadpython-coveragepy-git-c72eff754646c1a8a54dcf810523b34b0c85ec43.tar.gz
Sphinx experiments getting complicated...
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py16
1 files changed, 11 insertions, 5 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 3d7a93e5..98bc93f1 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -17,6 +17,8 @@ import sys, os
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.append(os.path.abspath('.'))
+# Copied from django docs:
+sys.path.append(os.path.join(os.path.dirname(__file__), "_ext"))
# -- General configuration -----------------------------------------------------
@@ -89,6 +91,8 @@ pygments_style = 'sphinx'
# -- Options for HTML output ---------------------------------------------------
+html_translator_class = "px_xlator.PxTranslator"
+
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
html_theme = 'px'
@@ -98,6 +102,8 @@ html_theme = 'px'
# documentation.
#html_theme_options = {}
+html_add_permalinks = False
+
# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = ['_templates']
@@ -128,7 +134,7 @@ html_static_path = ['_static']
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
-#html_use_smartypants = True
+html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}
@@ -138,16 +144,16 @@ html_static_path = ['_static']
#html_additional_pages = {}
# If false, no module index is generated.
-#html_use_modindex = True
+html_use_modindex = False
# If false, no index is generated.
-#html_use_index = True
+html_use_index = False
# If true, the index is split into individual pages for each letter.
#html_split_index = False
# If true, links to the reST sources are added to the pages.
-#html_show_sourcelink = True
+html_show_sourcelink = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the
@@ -155,7 +161,7 @@ html_static_path = ['_static']
#html_use_opensearch = ''
# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
-#html_file_suffix = ''
+html_file_suffix = '.px'
# Output file base name for HTML help builder.
htmlhelp_basename = 'coveragepydoc'