Skip to content
Myr

conf.py

This file

Path

docs/conf.py

220 lines · 7.1 KiB · Python

Last changed by

Merge branch '4.x-maintenance'Armin Ronacherbefore adoptioncad4ed6

History of this file

Take it

The walk stopped after 200 commits: lines older than ba36392 point at it.

Added click.launchArmin Ronacherbefore adoptionba36392

lines 1–14why, one step back
1# -*- coding: utf-8 -*-
2#3# click documentation build configuration file, created by4# sphinx-quickstart on Mon Apr 26 19:53:01 2010.5#6# This file is execfile()d with the current directory set to its containing dir.7#8# Note that not all possible configuration values are present in this9# autogenerated file.10#11# All configuration values have a default; values that are commented out12# serve to show the default.1314import sys, os

Merge branch '4.x-maintenance'Armin Ronacherbefore adoptioncad4ed6

line 15why, one step back
15import datetime

Added click.launchArmin Ronacherbefore adoptionba36392

lines 16–47why, one step back
16
17# If extensions (or modules to document with autodoc) are in another directory,18# add these directories to sys.path here. If the directory is relative to the19# documentation root, use os.path.abspath to make it absolute, like shown here.20sys.path.append(os.path.abspath('_themes'))21sys.path.append(os.path.abspath('..'))22sys.path.append(os.path.abspath('.'))2324# -- General configuration -----------------------------------------------------2526# If your documentation needs a minimal Sphinx version, state it here.27#needs_sphinx = '1.0'2829# Add any Sphinx extension module names here, as strings. They can be extensions30# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.31extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx',32 'clickdoctools']3334# Add any paths that contain templates here, relative to this directory.35templates_path = ['_templates']3637# The suffix of source filenames.38source_suffix = '.rst'3940# The encoding of source files.41#source_encoding = 'utf-8-sig'4243# The master toctree document.44master_doc = 'index'4546# General information about the project.47project = u'click'

Merge branch '4.x-maintenance'Armin Ronacherbefore adoptioncad4ed6

line 48why, one step back
48copyright = u'%d, Armin Ronacher' % datetime.datetime.utcnow().year

Added click.launchArmin Ronacherbefore adoptionba36392

lines 49–220why, one step back
49
50# The version info for the project you're documenting, acts as replacement for51# |version| and |release|, also used in various other places throughout the52# built documents.53#54# The short X.Y version.55version = '1.0'56# The full version, including alpha/beta/rc tags.57release = '1.0'5859# The language for content autogenerated by Sphinx. Refer to documentation60# for a list of supported languages.61#language = None6263# There are two options for replacing |today|: either, you set today to some64# non-false value, then it is used:65#today = ''66# Else, today_fmt is used as the format for a strftime call.67#today_fmt = '%B %d, %Y'6869# List of patterns, relative to source directory, that match files and70# directories to ignore when looking for source files.71exclude_patterns = ['_build']7273# The reST default role (used for this markup: `text`) to use for all documents.74#default_role = None7576# If true, '()' will be appended to :func: etc. cross-reference text.77#add_function_parentheses = True7879# If true, the current module name will be prepended to all description80# unit titles (such as .. function::).81#add_module_names = True8283# If true, sectionauthor and moduleauthor directives will be shown in the84# output. They are ignored by default.85#show_authors = False8687# A list of ignored prefixes for module index sorting.88#modindex_common_prefix = []899091# -- Options for HTML output ---------------------------------------------------9293# The theme to use for HTML and HTML Help pages. Major themes that come with94# Sphinx are currently 'default' and 'sphinxdoc'.95html_theme = 'click'9697# Theme options are theme-specific and customize the look and feel of a theme98# further. For a list of options available for each theme, see the99# documentation.100html_theme_options = {101}102103# Add any paths that contain custom themes here, relative to this directory.104html_theme_path = ['_themes']105106# The name for this set of Sphinx documents. If None, it defaults to107# "<project> v<release> documentation".108html_title = 'click'109110# A shorter title for the navigation bar. Default is the same as html_title.111#html_short_title = None112113# The name of an image file (relative to this directory) to place at the top114# of the sidebar.115#html_logo = None116117# The name of an image file (within the static path) to use as favicon of the118# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32119# pixels large.120#html_favicon = None121122# Add any paths that contain custom static files (such as style sheets) here,123# relative to this directory. They are copied after the builtin static files,124# so a file named "default.css" will overwrite the builtin "default.css".125html_static_path = ['_static']126127# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,128# using the given strftime format.129#html_last_updated_fmt = '%b %d, %Y'130131# If true, SmartyPants will be used to convert quotes and dashes to132# typographically correct entities.133#html_use_smartypants = True134135# Custom sidebar templates, maps document names to template names.136html_sidebars = {137 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'],138 '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',139 'sourcelink.html', 'searchbox.html']140}141142# Additional templates that should be rendered to pages, maps page names to143# template names.144#html_additional_pages = {}145146# If false, no module index is generated.147#html_domain_indices = True148149# If false, no index is generated.150#html_use_index = True151152# If true, the index is split into individual pages for each letter.153#html_split_index = False154155# If true, links to the reST sources are added to the pages.156#html_show_sourcelink = True157158# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.159#html_show_sphinx = True160161# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.162#html_show_copyright = True163164# If true, an OpenSearch description file will be output, and all pages will165# contain a <link> tag referring to it. The value of this option must be the166# base URL from which the finished HTML is served.167#html_use_opensearch = ''168169# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").170#html_file_suffix = ''171172# Output file base name for HTML help builder.173htmlhelp_basename = 'clickdoc'174175176# -- Options for LaTeX output --------------------------------------------------177178# The paper size ('letter' or 'a4').179#latex_paper_size = 'letter'180181# The font size ('10pt', '11pt' or '12pt').182#latex_font_size = '10pt'183184# Grouping the document tree into LaTeX files. List of tuples185# (source start file, target name, title, author, documentclass [howto/manual]).186latex_documents = [187 ('index', 'click.tex', u'click documentation',188 u'Armin Ronacher', 'manual'),189]190191# The name of an image file (relative to this directory) to place at the top of192# the title page.193#latex_logo = None194195# For "manual" documents, if this is true, then toplevel headings are parts,196# not chapters.197#latex_use_parts = False198199# Additional stuff for the LaTeX preamble.200#latex_preamble = ''201202# Documents to append as an appendix to all manuals.203#latex_appendices = []204205# If false, no module index is generated.206#latex_domain_indices = True207208209# -- Options for manual page output --------------------------------------------210211# One entry per manual page. List of tuples212# (source start file, name, description, authors, manual section).213man_pages = [214 ('index', 'click', u'click documentation',215 [u'Armin Ronacher'], 1)216]217218intersphinx_mapping = {219 'http://docs.python.org/dev': None220}