Skip to content

Commit

Permalink
fix doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrunel committed May 16, 2024
1 parent b45f958 commit 4086d1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/generate_api_reference.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -e # Exit if any command fails

# Install pdoc3 for generating Python API documentation
pip install lavague gradio pdoc3
pip install lavague pdoc3

# Generate HTML documentation
pdoc --html --skip-errors --template-dir docs/pdoc_template -o docs/docs/ src/lavague/ --force
pdoc --html --skip-errors --template-dir docs/pdoc_template -o docs/docs/ lavague-core/lavague/core --force
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ nav:
- Documentation: "docs/contributing/documentation.md"

- 🛠️ API reference:
- API reference home: 'docs/lavague/index.html'
- API reference home: 'docs/core/index.html'

0 comments on commit 4086d1a

Please sign in to comment.