Debian Codegraph @

docs/conf.py

raw
1 from pallets_sphinx_themes import get_version
2 from pallets_sphinx_themes import ProjectLink
3
4 project = "Blinker"
5 copyright = "2010 Jason Kirtland"
6 release, version = get_version("blinker", placeholder=None)
7
8 default_role = "code"
9 extensions = [
10 "sphinx.ext.autodoc",
11 "sphinx.ext.extlinks",
12 "sphinxcontrib.log_cabinet",
13 "pallets_sphinx_themes",
14 ]
15 autodoc_member_order = "groupwise"
16 autodoc_typehints = "description"
17 autodoc_preserve_defaults = True
18 extlinks = {
19 "issue": ("https://github.com/pallets-eco/blinker/issues/%s", "#%s"),
20 "pr": ("https://github.com/pallets-eco/blinker/pull/%s", "#%s"),
21 }
22
23 html_theme = "flask"
24 html_theme_options = {"index_sidebar_logo": False}
25 html_context = {
26 "project_links": [
27 ProjectLink("PyPI Releases", "https://pypi.org/project/blinker/"),
28 ProjectLink("Source Code", "https://github.com/pallets-eco/blinker/"),
29 ProjectLink("Issue Tracker", "https://github.com/pallets-eco/blinker/issues/"),
30 ]
31 }
32 html_sidebars = {
33 "index": ["project.html", "localtoc.html", "searchbox.html", "ethicalads.html"],
34 "**": ["localtoc.html", "relations.html", "searchbox.html", "ethicalads.html"],
35 }
36 singlehtml_sidebars = {"index": ["project.html", "localtoc.html", "ethicalads.html"]}
37 html_static_path = ["_static"]
38 html_logo = "_static/blinker-named.png"
39 html_title = f"Blinker Documentation ({version})"
40 html_show_sourcelink = False