Skip to content

Commit 04a24ed

Browse files
authored
Merge pull request #14 from bsipocz/MAINT_add_more_to_conf
MAINT: add more conf
2 parents 5c4d5f9 + 4f69e6f commit 04a24ed

File tree

1 file changed

+38
-3
lines changed

1 file changed

+38
-3
lines changed

conf.py

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,48 @@
1-
extensions = ["myst_nb", "sphinx_copybutton"]
1+
# -- Project information -----------------------------------------------------
22

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+
#
340
html_theme = 'sphinx_book_theme'
441
html_title = 'Executable Tutorials'
542
html_theme_options = {
643
"repository_url": "https://github.com/scientific-python/executable-tutorials",
7-
"path_to_docs": "docs",
844
"repository_branch": "main",
945
"use_repository_button": True,
1046
"use_issues_button": True,
1147
"use_edit_page_button": True,
1248
}
13-
nb_execution_mode = "auto"

0 commit comments

Comments
 (0)