|
| 1 | +""" Sphinx configuration file. |
| 2 | +
|
| 3 | + isort:skip_file |
| 4 | +""" |
1 | 5 | #!/usr/bin/env python3 |
2 | 6 | # |
3 | 7 | # pymc3 documentation build configuration file, created by |
|
15 | 19 | import os |
16 | 20 | import sys |
17 | 21 |
|
18 | | -import pymc3 |
19 | 22 |
|
20 | 23 | # If extensions (or modules to document with autodoc) are in another directory, |
21 | 24 | # add these directories to sys.path here. If the directory is relative to the |
22 | 25 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
23 | 26 | sys.path.insert(0, os.path.abspath(os.path.join("..", ".."))) |
24 | 27 | sys.path.insert(0, os.path.abspath("sphinxext")) |
| 28 | +import pymc3 # isort:skip |
25 | 29 |
|
26 | 30 | # -- General configuration ------------------------------------------------ |
27 | 31 |
|
|
37 | 41 | "sphinx.ext.autosummary", |
38 | 42 | "sphinx.ext.mathjax", |
39 | 43 | "sphinx.ext.intersphinx", |
40 | | - "nbsphinx", |
41 | 44 | "numpydoc", |
42 | 45 | "IPython.sphinxext.ipython_console_highlighting", |
43 | 46 | "IPython.sphinxext.ipython_directive", |
44 | 47 | "sphinx.ext.autosectionlabel", |
45 | 48 | "sphinx.ext.napoleon", |
46 | 49 | "gallery_generator", |
47 | | - "recommonmark", |
| 50 | + "myst_nb", |
48 | 51 | ] |
49 | 52 |
|
50 | 53 | # Don't auto-generate summary for class members. |
|
72 | 75 |
|
73 | 76 | # General information about the project. |
74 | 77 | project = "PyMC3" |
75 | | -copyright = "2018, The PyMC Development Team" |
76 | | -author = "PyMC developers" |
| 78 | +copyright = "2021, The PyMC Development Team" |
| 79 | +author = "PyMC contributors" |
77 | 80 |
|
78 | 81 | # The version info for the project you're documenting, acts as replacement for |
79 | 82 | # |version| and |release|, also used in various other places throughout the |
|
101 | 104 | # directories to ignore when looking for source files. |
102 | 105 | exclude_patterns = ["_build", "**.ipynb_checkpoints"] |
103 | 106 |
|
104 | | -nbsphinx_execute = "never" |
| 107 | +jupyter_execute_notebooks = "off" |
105 | 108 |
|
106 | 109 | # The reST default role (used for this markup: `text`) to use for all |
107 | 110 | # documents. |
|
0 commit comments