Skip to content

Commit a8e9e52

Browse files
committed
Fix docs build: downgrade jupyter-book to 0.15 for Sphinx compatibility
- Downgrade jupyter-book from 2.0 to 0.15.1 for Sphinx backend - Jupyter Book 2.0 uses incompatible mystmd build system - Add dftio/_version.py to .gitignore (auto-generated by setuptools-scm) - Tested locally - build successful with all HTML pages generated
1 parent 5fcb38c commit a8e9e52

4 files changed

Lines changed: 455 additions & 631 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ ipython_config.py
104104
# uv
105105
.python-version
106106

107+
# Version file auto-generated by setuptools-scm
108+
dftio/_version.py
109+
107110
# pdm
108111
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
109112
#pdm.lock

dftio/_version.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dev = [
3131
"pytest>=7.2.0",
3232
"pytest-order==1.2.0",
3333
"pytest-cov",
34-
"jupyter-book",
34+
"jupyter-book>=0.15,<1.0", # Use 0.x for Sphinx-based builds
3535
"sphinx-autodoc-typehints",
3636
]
3737

0 commit comments

Comments
 (0)