diff --git a/Doc/conf.py b/Doc/conf.py index 59d9cfa8804..0c7b6014591 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -14,7 +14,6 @@ sys.path.append(os.path.abspath('tools')) extensions = ['sphinx.ext.coverage', 'sphinx.ext.doctest', 'pyspecific', 'c_annotations'] -templates_path = ['tools'] # General substitutions. project = 'Python' @@ -31,16 +30,6 @@ today = '' # Else, today_fmt is used as the format for a strftime call. today_fmt = '%B %d, %Y' -# Relative filename of the reference count data file. -refcount_file = 'data/refcounts.dat' - -# 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 - # By default, highlight as Python 3. highlight_language = 'python3' @@ -51,19 +40,20 @@ needs_sphinx = '1.2' # Options for HTML output # ----------------------- +# Use our custom theme. html_theme = 'pydoctheme' html_theme_path = ['tools'] html_theme_options = {'collapsiblesidebar': True} +# Short title used e.g. for