-
Notifications
You must be signed in to change notification settings - Fork 429
/
conf.py
52 lines (45 loc) · 1.26 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
# -*- coding: utf-8 -*-
from pkg_resources import DistributionNotFound, get_distribution
try:
__version__ = get_distribution("emcee").version
except DistributionNotFound:
__version__ = "unknown version"
# General stuff
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon",
"sphinx.ext.mathjax",
"myst_nb",
]
myst_enable_extensions = ["dollarmath", "colon_fence"]
source_suffix = ".rst"
master_doc = "index"
project = "emcee"
copyright = "2012-2021, Dan Foreman-Mackey & contributors"
version = __version__
release = __version__
exclude_patterns = ["_build"]
# HTML theme
html_theme = "sphinx_book_theme"
html_copy_source = True
html_show_sourcelink = True
html_sourcelink_suffix = ""
html_title = "emcee"
html_favicon = "_static/favicon.png"
html_static_path = ["_static"]
html_theme_options = {
"path_to_docs": "docs",
"repository_url": "https://github.com/dfm/emcee",
"repository_branch": "main",
"launch_buttons": {
"binderhub_url": "https://mybinder.org",
"notebook_interface": "classic",
},
"use_edit_page_button": True,
"use_issues_button": True,
"use_repository_button": True,
"use_download_button": True,
}
jupyter_execute_notebooks = "off"
execution_timeout = -1