Skip to content

Commit

Permalink
github actions: documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Sep 30, 2024
1 parent a847c78 commit 474e6ef
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v4
- uses: pdm-project/setup-pdm@v4
with:
cache: true
python-version: '3.10'
- name: Install dependencies
run: pdm sync -dG doc -dG qt5
- name: Sphinx build
run: pdm run sphinx-build docs/source docs/build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
- uses: peaceiris/actions-gh-pages@v4
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
14 changes: 13 additions & 1 deletion pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ doc = [
"sphinx-autodoc-typehints>=2.3.0",
"sphinx-qt-documentation>=0.4.1",
"sphinx-rtd-theme>=2.0.0",
"graphviz>=0.20.3",
]
lint = [
"ruff>=0.6.2",
Expand Down

0 comments on commit 474e6ef

Please sign in to comment.