conf.py
This file
Path
docs/conf.py
56 lines · 1.9 KiB · Python
Last changed by
Merge pull request #1622 from MLH-Fellowship/1484-redesign-completionDavid Lordbefore adoption6c8301e
History of this fileTake it
1from pallets_sphinx_themes import get_version2from pallets_sphinx_themes import ProjectLink34import click._compat56# compat until pallets-sphinx-themes is updated7click._compat.text_type = str89# Project --------------------------------------------------------------1011project = "Click"12copyright = "2014 Pallets"13author = "Pallets"14release, version = get_version("Click", version_length=1)1516# General --------------------------------------------------------------1718master_doc = "index"19extensions = [20 "sphinx.ext.autodoc",21 "sphinx.ext.intersphinx",22 "sphinxcontrib.log_cabinet",23 "pallets_sphinx_themes",24 "sphinx_issues",25 "sphinx_tabs.tabs",26]27intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}28issues_github_path = "pallets/click"2930# HTML -----------------------------------------------------------------3132html_theme = "click"33html_theme_options = {"index_sidebar_logo": False}34html_context = {35 "project_links": [36 ProjectLink("Donate to Pallets", "https://palletsprojects.com/donate"),37 ProjectLink("Click Website", "https://palletsprojects.com/p/click/"),38 ProjectLink("PyPI releases", "https://pypi.org/project/click/"),39 ProjectLink("Source Code", "https://github.com/pallets/click/"),40 ProjectLink("Issue Tracker", "https://github.com/pallets/click/issues/"),41 ]42}43html_sidebars = {44 "index": ["project.html", "localtoc.html", "searchbox.html"],45 "**": ["localtoc.html", "relations.html", "searchbox.html"],46}47singlehtml_sidebars = {"index": ["project.html", "localtoc.html"]}48html_static_path = ["_static"]49html_favicon = "_static/click-icon.png"50html_logo = "_static/click-logo-sidebar.png"51html_title = f"Click Documentation ({version})"52html_show_sourcelink = False5354# LaTeX ----------------------------------------------------------------5556latex_documents = [(master_doc, f"Click-{version}.tex", html_title, author, "manual")]