Skip to content

Commit

Permalink
Compartmentalize docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellovell committed Jan 7, 2025
1 parent db9e314 commit d67e59b
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies & build
- name: Install Python dependencies
run: |
cd docs
pip install --upgrade pip
Expand All @@ -28,13 +28,23 @@ jobs:
ls venv/
source ./venv/bin/activate
pip install -r requirements.txt
- name: Install system dependencies
run: |
sudo apt-get install doxygen graphviz -y
# Build Doxygen source
- name: Generate Doxygen collateral
run: |
cd docs
source ./venv/bin/activate
doxygen Doxyfile
# Build webpage from Sphinx
- name: Generate Sphinx documentation
run: |
cd docs
source ./venv/bin/activate
make html
- name: Upload build artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit d67e59b

Please sign in to comment.