Skip to content

Commit f397ecb

Browse files
committed
CI: Update readthedocs config
- Build documentation with Python 3.11 - Declare extra requirements in `python.install` section
1 parent fa8e669 commit f397ecb

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.readthedocs.yaml

+15-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
11
version: 2
22

3+
python:
4+
install:
5+
- method: pip
6+
path: .
7+
extra_requirements:
8+
- docs
9+
- metrics-ner
10+
- nlstruct
11+
- srt-io-converter
12+
- webrtc-voice-detector
13+
314
build:
415
os: ubuntu-22.04
16+
tools:
17+
python: '3.11'
518
apt_packages:
619
- graphviz
720
- libsndfile1
8-
tools:
9-
python: '3.10'
1021
jobs:
11-
post_install:
12-
- pip install -e ".[docs,metrics-ner,nlstruct,srt-io-converter,webrtc-voice-detector]"
1322
pre_build:
1423
- jupyter-book config sphinx docs/
15-
- sed "s/'sphinx_book_theme',//" docs/conf.py # See https://github.com/executablebooks/jupyter-book/pull/2111
24+
# See https://github.com/executablebooks/jupyter-book/pull/2111
25+
- sed -i "s/'sphinx_book_theme',//" docs/conf.py

0 commit comments

Comments
 (0)