-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconf.py
62 lines (50 loc) · 1.37 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
project = "GSoD at ArviZ"
author = "ArviZ contributors"
copyright = f"2022, {author}"
version = ""
release = version
# -- General configuration
extensions = [
"sphinx.ext.intersphinx",
"sphinx.ext.extlinks",
"sphinx_copybutton",
"myst_parser",
"sphinx_design",
]
exclude_patterns = [
"Thumbs.db",
".DS_Store",
".ipynb_checkpoints",
"README.md",
]
# The reST default role (used for this markup: `text`) to use for all documents.
default_role = "code"
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = False
extlinks = {
"issue": ("https://github.com/arviz-devs/GSoD/issues/%s", "GH#"),
"pull": ("https://github.com/arviz-devs/GSoD/pull/%s", "PR#"),
}
# -- Options for extensions
myst_enable_extensions = ["colon_fence", "deflist"]
# -- Options for HTML output
html_theme = "furo"
logo = "ArviZ.png"
html_static_path = ["sphinx"]
html_favicon = "sphinx/favicon.ico"
html_theme_options = {
"light_css_variables": {
"color-brand-primary": "#0f718e",
"color-brand-content": "#069fac",
},
"dark_css_variables": {
"color-brand-primary": "#069fac",
"color-brand-content": "#00c0bf",
},
"sidebar_hide_name": True,
"light_logo": logo,
"dark_logo": f"dark-{logo}",
}
intersphinx_mapping = {
"arviz": ("https://arviz-devs.github.io/arviz", None),
}