Skip to content

Commit 4e2addb

Browse files
Use sphinx from pip
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent b2a2f3e commit 4e2addb

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.github/workflows/docs-build.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,12 @@ jobs:
3636
echo "__version__ = '$version'" | tee trakt/__version__.py
3737
python -c "from trakt import __version__; print(__version__)"
3838
39-
# Install deps and build docs
40-
pip install -r requirements.txt
41-
sudo apt install sphinx
39+
# Install deps
40+
python -m pip install --upgrade pip
41+
python -m pip install -r requirements.txt
42+
python -m pip install 'sphinx>=7.1.0'
43+
44+
# Build docs
4245
make docs
4346
4447
# vim:ts=2:sw=2:et

.github/workflows/docs-upload.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,12 @@ jobs:
5050
cat trakt/__version__.py
5151
python -c "from trakt import __version__; print(__version__)"
5252
53-
# Install deps and build docs
54-
pip install -r requirements.txt
55-
sudo apt install sphinx
53+
# Install deps
54+
python -m pip install --upgrade pip
55+
python -m pip install -r requirements.txt
56+
python -m pip install 'sphinx>=7.1.0'
57+
58+
# Build docs
5659
make docs
5760
5861
- name: Setup Pages

0 commit comments

Comments
 (0)