conf.py
This file
Path
docs/conf.py
46 lines · 1.8 KiB · Python
Last changed by
organize changelogDavid Lordbefore adoption084da90
History of this fileTake it
1from pallets_sphinx_themes import ProjectLink, get_version23# Project --------------------------------------------------------------45project = "Click"6copyright = "2014 Pallets Team"7author = "Pallets Team"8release, version = get_version("Click", version_length=1)910# General --------------------------------------------------------------1112master_doc = "index"13extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx", "pallets_sphinx_themes"]14intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}1516# HTML -----------------------------------------------------------------1718html_theme = "click"19html_theme_options = {"index_sidebar_logo": False}20html_context = {21 "project_links": [22 ProjectLink("Donate to Pallets", "https://palletsprojects.com/donate"),23 ProjectLink("Click Website", "https://palletsprojects.com/p/click/"),24 ProjectLink("PyPI releases", "https://pypi.org/project/Click/"),25 ProjectLink("Source Code", "https://github.com/pallets/click/"),26 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),27 ]28}29html_sidebars = {30 "index": ["project.html", "versions.html", "searchbox.html"],31 "**": ["localtoc.html", "relations.html", "versions.html", "searchbox.html"],32}33singlehtml_sidebars = {"index": ["project.html", "versions.html", "localtoc.html"]}34html_static_path = ["_static"]35html_favicon = "_static/click-icon.png"36html_logo = "_static/click-logo-sidebar.png"37html_title = "Click Documentation ({})".format(version)38html_show_sourcelink = False39html_domain_indices = False40html_experimental_html5_writer = True4142# LaTeX ----------------------------------------------------------------4344latex_documents = [45 (master_doc, "Click-{}.tex".format(version), html_title, author, "manual")46]