Skip to content

Commit

Permalink
Call sphinx commands directly to generate API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ericblam committed Nov 4, 2023
1 parent 580db0e commit 073ae69
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,10 @@ jobs:
- uses: actions/checkout@v4

- name: Build API Docs
uses: ammaraskar/sphinx-action@master
with:
build-command: "sphinx-apidoc -o docs/source/ src/dancesport_parser"

- name: Build HTML
uses: ammaraskar/sphinx-action@master
with:
build-command: "sphinx-build -b html docs/source/ docs"
run: |
pip install sphinx sphinx-autodoc-typehints
sphinx-apidoc -o docs/source/ src/dancesport_parser
sphinx-build -b html docs/source/ docs
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 073ae69

Please sign in to comment.