diff options
author | Georg Brandl <georg@python.org> | 2019-11-10 08:55:46 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2019-11-10 09:46:26 +0100 |
commit | b9d5d538e2146d9e6455df6313dc1d80d525f64c (patch) | |
tree | cdcda1a5a48cda58b0682bc48934ad47cf5701de /doc/conf.py | |
parent | 910a3fb3f7db469bd6b9f3890533c8a6b82d4794 (diff) | |
download | pygments-git-b9d5d538e2146d9e6455df6313dc1d80d525f64c.tar.gz |
Fixup sidebars of standalone doc pages.
and other small fixups in the Sphinx config.
Diffstat (limited to 'doc/conf.py')
-rw-r--r-- | doc/conf.py | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/doc/conf.py b/doc/conf.py index 00db7d9b..5ba0a214 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -35,7 +35,7 @@ master_doc = 'index' # General information about the project. project = u'Pygments' -copyright = u'2015, Georg Brandl' +copyright = u'2006-2019, Georg Brandl and Pygments contributors' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -97,7 +97,7 @@ html_theme_path = ['_themes'] # The name for this set of Sphinx documents. If None, it defaults to # "<project> v<release> documentation". -#html_title = None +html_title = 'Pygments' # A shorter title for the navigation bar. Default is the same as html_title. #html_short_title = None @@ -125,8 +125,7 @@ html_static_path = ['_static'] #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -html_sidebars = {'index': ['indexsidebar.html'], - 'docs/*': ['docssidebar.html']} +html_sidebars = {'index': ['indexsidebar.html', 'searchbox.html']} # Additional templates that should be rendered to pages, maps page names to # template names. @@ -159,7 +158,7 @@ html_sidebars = {'index': ['indexsidebar.html'], #html_file_suffix = None # Output file base name for HTML help builder. -htmlhelp_basename = 'Pygmentsdoc' +htmlhelp_basename = 'Pygments' # -- Options for LaTeX output -------------------------------------------------- @@ -179,7 +178,7 @@ latex_elements = { # (source start file, target name, title, author, documentclass [howto/manual]). latex_documents = [ ('index', 'Pygments.tex', u'Pygments Documentation', - u'Georg Brandl', 'manual'), + u'Pygments authors', 'manual'), ] # The name of an image file (relative to this directory) to place at the top of @@ -209,33 +208,12 @@ latex_documents = [ # (source start file, name, description, authors, manual section). man_pages = [ ('index', 'pygments', u'Pygments Documentation', - [u'Georg Brandl'], 1) + [u'Pygments authors'], 1) ] # If true, show URL addresses after external links. #man_show_urls = False -# -- Options for Texinfo output ------------------------------------------------ - -# Grouping the document tree into Texinfo files. List of tuples -# (source start file, target name, title, author, -# dir menu entry, description, category) -texinfo_documents = [ - ('index', 'Pygments', u'Pygments Documentation', - u'Georg Brandl', 'Pygments', 'One line description of project.', - 'Miscellaneous'), -] - -# Documents to append as an appendix to all manuals. -#texinfo_appendices = [] - -# If false, no module index is generated. -#texinfo_domain_indices = True - -# How to display URL addresses: 'footnote', 'no', or 'inline'. -#texinfo_show_urls = 'footnote' - - # Example configuration for intersphinx: refer to the Python standard library. #intersphinx_mapping = {'http://docs.python.org/': None} |