Skip to content

Commit

Permalink
fix(docs): multiversion command
Browse files Browse the repository at this point in the history
  • Loading branch information
anand-bala committed Oct 13, 2023
1 parent 2ed91f6 commit c522b17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
- name: Build Python package
run: maturin develop --release --manifest-path pyargus/Cargo.toml
- name: Build HTML docs
run: sphinx-multiversion -b html docs _site
run: sphinx-multiversion docs _site -b html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/dev' || startsWith(github.ref, 'refs/tags/')
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def docs(session: nox.Session):
session.install("sphinx-autoapi", "sphinx-multiversion")
with session.chdir(CURRENT_DIR / "pyargus"):
session.install("-e", ".")
session.run("sphinx-multiversion", "-b", "html", "docs", "_site")
session.run("sphinx-multiversion", "docs", "_site", "-b", "html")


@nox.session(tags=["style", "fix", "rust"], python=False)
Expand Down

0 comments on commit c522b17

Please sign in to comment.