-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathconf.py
93 lines (84 loc) · 2.55 KB
/
conf.py
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
import os
import sys
sys.path.insert(0, os.path.abspath(".."))
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.coverage",
"sphinx.ext.doctest",
"sphinx.ext.extlinks",
"sphinx.ext.ifconfig",
"sphinx.ext.napoleon",
"sphinx.ext.todo",
"sphinx.ext.viewcode",
"sphinx_rtd_theme",
]
source_suffix = ".rst"
master_doc = "index"
project = "pythermalcomfort"
year = "2025"
author = "Federico Tartarini"
project_copyright = f"{year}, {author}"
version = release = "3.0.0"
autodoc_typehints = "none"
pygments_style = "trac"
templates_path = ["."]
extlinks = {
"issue": (
"https://github.com/CenterForTheBuiltEnvironment/pythermalcomfort/issues/%s",
"issue %s",
),
"pr": (
"https://github.com/CenterForTheBuiltEnvironment/pythermalcomfort/pull/%s",
"PR %s",
),
}
# on_rtd is whether we are on readthedocs.org
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
html_theme = "pydata_sphinx_theme"
napoleon_use_ivar = True
napoleon_use_rtype = False
napoleon_use_param = False
html_title = f"pythermalcomfort {version}"
html_short_title = f"{project}-{version}"
html_use_smartypants = True
html_last_updated_fmt = "%b %d, %Y"
html_split_index = False
html_sidebars = {
"**": ["sidebar-nav-bs"],
"installation": [],
"contributing": [],
"authors": [],
}
html_theme_options = {
"icon_links": [
{
# Label for this link
"name": "GitHub",
# URL where the link will redirect
"url": "https://github.com/CenterForTheBuiltEnvironment/pythermalcomfort", # required
# Icon class (if "type": "fontawesome"), or path to local image (if "type": "local")
"icon": "fa-brands fa-square-github",
# The type of image to be used (see below for details)
"type": "fontawesome",
},
{
"name": "LinkedIn",
"url": "https://www.linkedin.com/in/federico-tartarini", # required
"icon": "fa-brands fa-linkedin",
"type": "fontawesome",
},
{
"name": "Google Scholar",
"url": "https://scholar.google.com/citations?view_op=list_works&hl=en&hl=en&user=QcamSPwAAAAJ",
"icon": "fa-brands fa-google-scholar",
},
{
"name": "PyPI",
"url": "https://pypi.org/project/pythermalcomfort/",
"icon": "fa-brands fa-python",
},
],
"secondary_sidebar_items": ["page-toc", "edit-this-page"],
"content_footer_items": ["last-updated"],
}