Skip to content
Myr

conf.py

This file

Path

docs/conf.py

217 lines · 6.9 KiB · Python

Last changed by

Initial commitArmin Ronacherbefore adoption4101de3

History of this file

Take it

Initial commitArmin Ronacherbefore adoption4101de3

lines 1–217
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, os1516# If extensions (or modules to document with autodoc) are in another directory,17# add these directories to sys.path here. If the directory is relative to the18# documentation root, use os.path.abspath to make it absolute, like shown here.19sys.path.append(os.path.abspath('_themes'))20sys.path.append(os.path.abspath('..'))2122# -- General configuration -----------------------------------------------------2324# If your documentation needs a minimal Sphinx version, state it here.25#needs_sphinx = '1.0'2627# Add any Sphinx extension module names here, as strings. They can be extensions28# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.29extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']3031# Add any paths that contain templates here, relative to this directory.32templates_path = ['_templates']3334# The suffix of source filenames.35source_suffix = '.rst'3637# The encoding of source files.38#source_encoding = 'utf-8-sig'3940# The master toctree document.41master_doc = 'index'4243# General information about the project.44project = u'click'45copyright = u'2014, Armin Ronacher'4647# The version info for the project you're documenting, acts as replacement for48# |version| and |release|, also used in various other places throughout the49# built documents.50#51# The short X.Y version.52version = '1.0'53# The full version, including alpha/beta/rc tags.54release = '1.0'5556# The language for content autogenerated by Sphinx. Refer to documentation57# for a list of supported languages.58#language = None5960# There are two options for replacing |today|: either, you set today to some61# non-false value, then it is used:62#today = ''63# Else, today_fmt is used as the format for a strftime call.64#today_fmt = '%B %d, %Y'6566# List of patterns, relative to source directory, that match files and67# directories to ignore when looking for source files.68exclude_patterns = ['_build']6970# The reST default role (used for this markup: `text`) to use for all documents.71#default_role = None7273# If true, '()' will be appended to :func: etc. cross-reference text.74#add_function_parentheses = True7576# If true, the current module name will be prepended to all description77# unit titles (such as .. function::).78#add_module_names = True7980# If true, sectionauthor and moduleauthor directives will be shown in the81# output. They are ignored by default.82#show_authors = False8384# A list of ignored prefixes for module index sorting.85#modindex_common_prefix = []868788# -- Options for HTML output ---------------------------------------------------8990# The theme to use for HTML and HTML Help pages. Major themes that come with91# Sphinx are currently 'default' and 'sphinxdoc'.92html_theme = 'click'9394# Theme options are theme-specific and customize the look and feel of a theme95# further. For a list of options available for each theme, see the96# documentation.97html_theme_options = {98}99100# Add any paths that contain custom themes here, relative to this directory.101html_theme_path = ['_themes']102103# The name for this set of Sphinx documents. If None, it defaults to104# "<project> v<release> documentation".105html_title = 'click'106107# A shorter title for the navigation bar. Default is the same as html_title.108#html_short_title = None109110# The name of an image file (relative to this directory) to place at the top111# of the sidebar.112#html_logo = None113114# The name of an image file (within the static path) to use as favicon of the115# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32116# pixels large.117#html_favicon = None118119# Add any paths that contain custom static files (such as style sheets) here,120# relative to this directory. They are copied after the builtin static files,121# so a file named "default.css" will overwrite the builtin "default.css".122html_static_path = ['_static']123124# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,125# using the given strftime format.126#html_last_updated_fmt = '%b %d, %Y'127128# If true, SmartyPants will be used to convert quotes and dashes to129# typographically correct entities.130#html_use_smartypants = True131132# Custom sidebar templates, maps document names to template names.133html_sidebars = {134 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'],135 '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',136 'sourcelink.html', 'searchbox.html']137}138139# Additional templates that should be rendered to pages, maps page names to140# template names.141#html_additional_pages = {}142143# If false, no module index is generated.144#html_domain_indices = True145146# If false, no index is generated.147#html_use_index = True148149# If true, the index is split into individual pages for each letter.150#html_split_index = False151152# If true, links to the reST sources are added to the pages.153#html_show_sourcelink = True154155# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.156#html_show_sphinx = True157158# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.159#html_show_copyright = True160161# If true, an OpenSearch description file will be output, and all pages will162# contain a <link> tag referring to it. The value of this option must be the163# base URL from which the finished HTML is served.164#html_use_opensearch = ''165166# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").167#html_file_suffix = ''168169# Output file base name for HTML help builder.170htmlhelp_basename = 'clickdoc'171172173# -- Options for LaTeX output --------------------------------------------------174175# The paper size ('letter' or 'a4').176#latex_paper_size = 'letter'177178# The font size ('10pt', '11pt' or '12pt').179#latex_font_size = '10pt'180181# Grouping the document tree into LaTeX files. List of tuples182# (source start file, target name, title, author, documentclass [howto/manual]).183latex_documents = [184 ('index', 'click.tex', u'click documentation',185 u'Armin Ronacher', 'manual'),186]187188# The name of an image file (relative to this directory) to place at the top of189# the title page.190#latex_logo = None191192# For "manual" documents, if this is true, then toplevel headings are parts,193# not chapters.194#latex_use_parts = False195196# Additional stuff for the LaTeX preamble.197#latex_preamble = ''198199# Documents to append as an appendix to all manuals.200#latex_appendices = []201202# If false, no module index is generated.203#latex_domain_indices = True204205206# -- Options for manual page output --------------------------------------------207208# One entry per manual page. List of tuples209# (source start file, name, description, authors, manual section).210man_pages = [211 ('index', 'click', u'click documentation',212 [u'Armin Ronacher'], 1)213]214215intersphinx_mapping = {216 'http://docs.python.org/dev': None217}