Debian Codegraph @

sites/shared_conf.py

raw
1 from datetime import datetime
2
3 import alabaster
4
5
6 # Alabaster theme + mini-extension
7 html_theme_path = [alabaster.get_path()]
8 extensions = ["alabaster", "sphinx.ext.intersphinx"]
9 # Paths relative to invoking conf.py - not this shared file
10 html_theme = "alabaster"
11 html_theme_options = {
12 "description": "A Python implementation of SSHv2.",
13 "github_user": "paramiko",
14 "github_repo": "paramiko",
15 "analytics_id": "UA-18486793-2",
16 "travis_button": False,
17 "tidelift_url": "https://tidelift.com/subscription/pkg/pypi-paramiko?utm_source=pypi-paramiko&utm_medium=referral&utm_campaign=docs",
18 }
19 html_sidebars = {
20 "**": ["about.html", "navigation.html", "searchbox.html", "donate.html"]
21 }
22
23 # Everything intersphinx's to Python
24 intersphinx_mapping = {"python": ("https://docs.python.org/3/", None)}
25
26 # Regular settings
27 project = "Paramiko"
28 copyright = f"{datetime.now().year} Jeff Forcier"
29 master_doc = "index"
30 templates_path = ["_templates"]
31 exclude_trees = ["_build"]
32 source_suffix = ".rst"
33 default_role = "obj"