mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-12 22:35:51 +00:00
fix
This commit is contained in:
parent
01870a3122
commit
2a2a4a8fb2
2 changed files with 4 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue