-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconf.py
More file actions
33 lines (26 loc) · 802 Bytes
/
conf.py
File metadata and controls
33 lines (26 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/usr/bin/env python3
import datetime
import importlib.metadata
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
]
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"irc": ("https://python-irc.readthedocs.io/en/stable/", None),
}
# General information about the project.
metadata = importlib.metadata.metadata("ib3")
project = metadata["name"]
version = metadata["version"]
author = "Bryan Davis"
_origin_date = datetime.date(2017, 2, 19)
_today = datetime.date.today()
copyright = f"{_origin_date.year}-{_today.year} {author} and contributors"
release = version
master_doc = "index"
pygments_style = "sphinx"
html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]
suppress_warnings = ["image.nonlocal_uri"]