Skip to content

Commit

Permalink
Fix building docs in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauch committed Apr 24, 2024
1 parent 2961d50 commit f1757b8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ammaraskar/sphinx-action@master
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
docs-folder: "./ur_documentation/docs"
python-version: '3.10'
cache: 'pip'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install --upgrade --requirement ur_documentation/requirements.txt
shell: bash
- name: Build documentation using sphinx
run: |
TZ=UTC sphinx-build ur_documentation/docs/source _build
2 changes: 2 additions & 0 deletions ur_documentation/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx
sphinx_rtd_theme

0 comments on commit f1757b8

Please sign in to comment.