diff options
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/doc/conf.py b/doc/conf.py index 2f504f699..1bcf5d559 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -2,6 +2,7 @@ import os import re +import time import sphinx @@ -10,23 +11,25 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.intersphinx', 'sphinx.ext.viewcode', 'sphinx.ext.inheritance_diagram'] -root_doc = 'contents' templates_path = ['_templates'] exclude_patterns = ['_build'] project = 'Sphinx' -copyright = '2007-2022, Georg Brandl and the Sphinx team' +copyright = f'2007-{time.strftime("%Y")}, the Sphinx developers' version = sphinx.__display_version__ release = version show_authors = True html_theme = 'sphinx13' html_theme_path = ['_themes'] +html_css_files = [ + # 'basic.css', # included through inheritance from the basic theme + 'sphinx13.css', +] modindex_common_prefix = ['sphinx.'] html_static_path = ['_static'] -html_sidebars = {'index': ['indexsidebar.html', 'searchbox.html']} html_title = 'Sphinx documentation' -html_additional_pages = {'index': 'index.html'} +html_additional_pages = {'contents': 'contents.html'} html_use_opensearch = 'https://www.sphinx-doc.org/en/master' html_baseurl = 'https://www.sphinx-doc.org/en/master/' html_favicon = '_static/favicon.svg' @@ -35,7 +38,7 @@ htmlhelp_basename = 'Sphinxdoc' epub_theme = 'epub' epub_basename = 'sphinx' -epub_author = 'Georg Brandl' +epub_author = 'the Sphinx developers' epub_publisher = 'https://www.sphinx-doc.org/' epub_uid = 'web-site' epub_scheme = 'url' @@ -52,11 +55,10 @@ epub_fix_images = False epub_max_image_width = 0 epub_show_urls = 'inline' epub_use_index = False -epub_guide = (('toc', 'contents.xhtml', 'Table of Contents'),) epub_description = 'Sphinx documentation generator system manual' -latex_documents = [('contents', 'sphinx.tex', 'Sphinx Documentation', - 'Georg Brandl', 'manual', 1)] +latex_documents = [('index', 'sphinx.tex', 'Sphinx Documentation', + 'the Sphinx developers', 'manual', 1)] latex_logo = '_static/sphinx.png' latex_elements = { 'fontenc': r'\usepackage[LGR,X2,T1]{fontenc}', @@ -94,8 +96,8 @@ extlinks = {'duref': ('https://docutils.sourceforge.io/docs/ref/rst/' 'directives.html#%s', '%s')} man_pages = [ - ('contents', 'sphinx-all', 'Sphinx documentation generator system manual', - 'Georg Brandl', 1), + ('index', 'sphinx-all', 'Sphinx documentation generator system manual', + 'the Sphinx developers', 1), ('man/sphinx-build', 'sphinx-build', 'Sphinx documentation generator tool', '', 1), ('man/sphinx-quickstart', 'sphinx-quickstart', 'Sphinx documentation ' @@ -107,7 +109,7 @@ man_pages = [ ] texinfo_documents = [ - ('contents', 'sphinx', 'Sphinx Documentation', 'Georg Brandl', + ('index', 'sphinx', 'Sphinx Documentation', 'the Sphinx developers', 'Sphinx', 'The Sphinx documentation builder.', 'Documentation tools', 1), ] |