Skip to content
Myr

conf.py

This file

Path

docs/conf.py

52 lines · 1.8 KiB · Python

Last changed by

Merge branch '8.1.x'David Lordbefore adoptiond9af5cf

History of this file

Take it

1from pallets_sphinx_themes import get_version2from pallets_sphinx_themes import ProjectLink34# Project --------------------------------------------------------------56project = "Click"7copyright = "2014 Pallets"8author = "Pallets"9release, version = get_version("Click")1011# General --------------------------------------------------------------1213master_doc = "index"14extensions = [15    "sphinx.ext.autodoc",16    "sphinx.ext.intersphinx",17    "sphinxcontrib.log_cabinet",18    "pallets_sphinx_themes",19    "sphinx_issues",20    "sphinx_tabs.tabs",21]22autodoc_typehints = "description"23intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}24issues_github_path = "pallets/click"2526# HTML -----------------------------------------------------------------2728html_theme = "click"29html_theme_options = {"index_sidebar_logo": False}30html_context = {31    "project_links": [32        ProjectLink("Donate", "https://palletsprojects.com/donate"),33        ProjectLink("PyPI Releases", "https://pypi.org/project/click/"),34        ProjectLink("Source Code", "https://github.com/pallets/click/"),35        ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),36        ProjectLink("Chat", "https://discord.gg/pallets"),37    ]38}39html_sidebars = {40    "index": ["project.html", "localtoc.html", "searchbox.html", "ethicalads.html"],41    "**": ["localtoc.html", "relations.html", "searchbox.html", "ethicalads.html"],42}43singlehtml_sidebars = {"index": ["project.html", "localtoc.html", "ethicalads.html"]}44html_static_path = ["_static"]45html_favicon = "_static/click-icon.png"46html_logo = "_static/click-logo-sidebar.png"47html_title = f"Click Documentation ({version})"48html_show_sourcelink = False4950# LaTeX ----------------------------------------------------------------5152latex_documents = [(master_doc, f"Click-{version}.tex", html_title, author, "manual")]