conf.py
This file
Path
docs/conf.py
58 lines · 1.9 KiB · Python
Last changed by
Split string values from `default_map` for multi-value parameters (#3364)Rowlando13before adoptionc8da1fc
History of this fileTake 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"14default_role = "code"15extensions = [16 "sphinx.ext.autodoc",17 "sphinx.ext.extlinks",18 "sphinx.ext.intersphinx",19 "sphinx_tabs.tabs",20 "sphinxcontrib.log_cabinet",21 "pallets_sphinx_themes",22 "myst_parser",23]24autodoc_member_order = "bysource"25autodoc_typehints = "description"26autodoc_preserve_defaults = True27extlinks = {28 "issue": ("https://github.com/pallets/click/issues/%s", "#%s"),29 "pr": ("https://github.com/pallets/click/pull/%s", "#%s"),30}31intersphinx_mapping = {32 "python": ("https://docs.python.org/3/", None),33}34myst_heading_anchors = 33536# HTML -----------------------------------------------------------------3738html_theme = "click"39html_theme_options = {"index_sidebar_logo": False}40html_context = {41 "project_links": [42 ProjectLink("Donate", "https://palletsprojects.com/donate"),43 ProjectLink("PyPI Releases", "https://pypi.org/project/click/"),44 ProjectLink("Source Code", "https://github.com/pallets/click/"),45 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),46 ProjectLink("Chat", "https://discord.gg/pallets"),47 ]48}49html_sidebars = {50 "index": ["project.html", "localtoc.html", "searchbox.html", "ethicalads.html"],51 "**": ["localtoc.html", "relations.html", "searchbox.html", "ethicalads.html"],52}53singlehtml_sidebars = {"index": ["project.html", "localtoc.html", "ethicalads.html"]}54html_static_path = ["_static"]55html_favicon = "_static/click-icon.svg"56html_logo = "_static/click-logo.svg"57html_title = f"Click Documentation ({version})"58html_show_sourcelink = False