This commit is contained in:
Tom van Woudenberg 2025-02-14 17:23:59 +01:00
parent 01870a3122
commit 2a2a4a8fb2
2 changed files with 4 additions and 2 deletions

View file

@ -6,7 +6,7 @@ build:
python: "3.13"
jobs:
pre_build:
- "sed -i '/local_extensions:/,/^[^ ]/d' book/_config.yml"
- "sed -i '\\/local_extensions:/,\\/^[^ ]/d' book/_config.yml"
- "jupyter-book config sphinx book/"
python:

View file

@ -38,7 +38,9 @@ sphinx:
builder: html
fail_on_warning: true
configuration: book/conf.py
```
```
You might need to add `standard-imghdr` to your `requirements.txt` file if the build fails when you've configured it in Read the Docs (if the error tells you `ModuleNotFoundError: No module named 'imghdr'`)
### Setup Read The Docs account