|
1 |
| -extensions = ["myst_nb", "sphinx_copybutton"] |
| 1 | +# -- Project information ----------------------------------------------------- |
2 | 2 |
|
| 3 | +project = 'Scientific Python Executable Tutorials' |
| 4 | +copyright = '2025, Scientific Python developers' |
| 5 | +author = 'Scientific Python developers' |
| 6 | + |
| 7 | + |
| 8 | +# -- General configuration --------------------------------------------------- |
| 9 | + |
| 10 | +# Add any Sphinx extension module names here, as strings. They can be |
| 11 | +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
| 12 | +# ones. |
| 13 | + |
| 14 | +extensions = [ |
| 15 | + "myst_nb", |
| 16 | + "sphinx_copybutton", |
| 17 | +] |
| 18 | + |
| 19 | +myst_enable_extensions = [ |
| 20 | + 'dollarmath', |
| 21 | +] |
| 22 | + |
| 23 | +# List of patterns, relative to source directory, that match files and |
| 24 | +# directories to ignore when looking for source files. |
| 25 | +# This pattern also affects html_static_path and html_extra_path. |
| 26 | +exclude_patterns = ['_build', 'notes', '.tox', '.tmp', '.pytest_cache', 'README.md'] |
| 27 | + |
| 28 | +# MyST-NB configuration |
| 29 | +nb_merge_streams = True |
| 30 | +nb_execution_mode = "cache" |
| 31 | + |
| 32 | +nb_execution_excludepatterns = [] |
| 33 | + |
| 34 | + |
| 35 | +# -- Options for HTML output ------------------------------------------------- |
| 36 | + |
| 37 | +# The theme to use for HTML and HTML Help pages. See the documentation for |
| 38 | +# a list of builtin themes. |
| 39 | +# |
3 | 40 | html_theme = 'sphinx_book_theme'
|
4 | 41 | html_title = 'Executable Tutorials'
|
5 | 42 | html_theme_options = {
|
6 | 43 | "repository_url": "https://github.com/scientific-python/executable-tutorials",
|
7 |
| - "path_to_docs": "docs", |
8 | 44 | "repository_branch": "main",
|
9 | 45 | "use_repository_button": True,
|
10 | 46 | "use_issues_button": True,
|
11 | 47 | "use_edit_page_button": True,
|
12 | 48 | }
|
13 |
| -nb_execution_mode = "auto" |
|
0 commit comments