Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@ jobs:
echo "__version__ = '$version'" | tee trakt/__version__.py
python -c "from trakt import __version__; print(__version__)"

# Install deps and build docs
pip install -r requirements.txt
sudo apt install sphinx
# Install deps
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install 'sphinx>=7.1.0'

# Build docs
make docs

# vim:ts=2:sw=2:et
14 changes: 9 additions & 5 deletions .github/workflows/docs-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,19 @@ jobs:

- name: Install dependencies and build docs
run: |
set -eux

# Setup version
version=$(git describe --tags --abbrev=0)
echo "__version__ = '$version'" > trakt/__version__.py
cat trakt/__version__.py
echo "__version__ = '$version'" | tee trakt/__version__.py
python -c "from trakt import __version__; print(__version__)"

# Install deps and build docs
pip install -r requirements.txt
sudo apt install sphinx
# Install deps
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install 'sphinx>=7.1.0'

# Build docs
make docs

- name: Setup Pages
Expand Down