/
conf.py
65 lines (51 loc) · 1.56 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
# -- Project information
project = "Bayesian Workflow resources"
author = "ArviZ contributors"
copyright = f"2022, {author}"
version = "0.1.0"
release = version
# -- General configuration
extensions = [
"sphinx.ext.intersphinx",
"sphinx.ext.mathjax",
"myst_nb",
"sphinx_copybutton",
"sphinx_design",
]
templates_path = ["sphinx/_templates"]
exclude_patterns = [
"Thumbs.db",
".DS_Store",
".ipynb_checkpoints",
"**/*.md",
"**/*jl.ipynb",
"README.md",
"jupyter_execute",
"_build",
]
# 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
# -- Options for extensions
jupyter_execute_notebooks = "auto"
execution_excludepatterns = ["*.ipynb"]
myst_enable_extensions = ["colon_fence", "deflist", "dollarmath", "amsmath"]
# -- Options for HTML output
html_theme = "sphinx_book_theme"
# html_static_path = ["sphinx/_static"]
# html_css_files = ["custom.css"]
html_theme_options = {
"repository_url": "https://github.com/arviz-devs/bayesian-workflow",
"repository_branch": "main",
"use_repository_button": True,
"use_issues_button": True,
"use_edit_page_button": True,
"use_download_button": True,
}
intersphinx_mapping = {
"arviz": ("https://arviz-devs.github.io/arviz", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
"xarray": ("http://xarray.pydata.org/en/stable/", None),
}