Skip to content

Commit 79b17ca

Browse files
authored
bump sphinx versions, some fixes, new theme (#1443)
1 parent d9bcf94 commit 79b17ca

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

documentation_builder/conf.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
"sphinx.ext.autodoc",
3030
"sphinx.ext.intersphinx",
3131
"sphinx.ext.mathjax",
32-
"sphinx.ext.viewcode",
3332
"sphinx.ext.napoleon",
3433
"sphinx.ext.autosummary",
3534
"autoapi.extension",
3635
"nbsphinx",
36+
"sphinx.ext.viewcode",
3737
]
3838
# Document Python Code
3939
autoapi_dirs = [join(SRC_PATH, "cobra")]
@@ -123,8 +123,10 @@
123123

124124
# Example configuration for intersphinx: refer to the Python standard library.
125125
intersphinx_mapping = {
126-
"http://docs.python.org/": None,
127-
"http://docs.scipy.org/doc/numpy/": None,
128-
"http://docs.scipy.org/doc/scipy/reference": None,
126+
"python": ("http://docs.python.org/", None),
127+
"numpy": ("http://docs.scipy.org/doc/numpy/", None),
128+
"scipy": ("http://docs.scipy.org/doc/scipy/reference", None),
129129
}
130130
intersphinx_cache_limit = 10 # days to keep the cached inventories
131+
132+
html_theme = "sphinx_book_theme"
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Sphinx~=5.3
1+
Sphinx>=8.2
22
sphinxcontrib-napoleon
3-
sphinx-autoapi
3+
sphinx-autoapi>=3.6
44
nbsphinx>=0.2.4
5+
sphinx-book-theme~=1.1
56
ipykernel
6-
matplotlib>=3.6

0 commit comments

Comments
 (0)