forked from pangeo-forge/pangeo-forge-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
45 lines (36 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
# -- Project information -----------------------------------------------------
project = "Pangeo Forge"
copyright = "2020, Pangeo Community"
author = "Pangeo Community"
# -- General configuration ---------------------------------------------------
extensions = [
"myst_nb",
"sphinx.ext.autodoc",
"sphinx.ext.extlinks",
# "numpydoc",
"sphinx_autodoc_typehints",
"sphinx_copybutton",
]
extlinks = {
"issue": ("https://github.com/pangeo-forge/pange-forge-recipes/issues/%s", "GH issue "),
"pull": ("https://github.com/pangeo-forge/pange-forge-recipes/pull/%s", "GH PR "),
}
exclude_patterns = ["_build", "**.ipynb_checkpoints"]
master_doc = "index"
# we always have to manually run the notebooks because they are slow / expensive
jupyter_execute_notebooks = "auto"
execution_excludepatterns = ["tutorials/*"]
# -- Options for HTML output -------------------------------------------------
# https://sphinx-book-theme.readthedocs.io/en/latest/configure.html
html_theme = "pangeo_sphinx_book_theme"
html_theme_options = {
"repository_url": "https://github.com/pangeo-forge/pangeo-forge-recipes",
"repository_branch": "master",
"path_to_docs": "docs",
"use_repository_button": True,
"use_issues_button": True,
"use_edit_page_button": True,
}
html_logo = "_static/pangeo-forge-logo-blue.png"
html_static_path = ["_static"]
myst_heading_anchors = 2