Skip to content

Commit

Permalink
fix API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hotzenklotz committed Oct 14, 2024
1 parent 846d939 commit e0cc0dc
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docs/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if [ ! -d "wk-repo" ]; then
exit 1
fi
rm -rf src/api/webknossos
uv run --frozen python generate_api_doc_pages.py
uv run --frozen generate_api_doc_pages.py

if [ $# -eq 1 ] && [ "$1" = "--persist" ]; then
uv run mkdocs build
Expand Down
6 changes: 3 additions & 3 deletions docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ readme = "README.md"
requires-python = ">=3.9,<3.13"

dependencies = [
"webknossos",
"mkdocs-glightbox ~=0.4.0",
"mkdocstrings-python ~=1.10.8",
"mkdocstrings-python ~=1.12.1",
"mkdocs-gen-files ~=0.5.0",
"webknossos ~=0.0.0",
"mkdocs-redirects ~=1.2.0",
"mkdocs-video ~=1.5.0",
"mkdocs-material ~=9.5.32",
"LinkChecker ~=10.0.1",
]

[tool.uv.sources]
webknossos = { path = "../webknossos/", editable = true}
webknossos = { path = "../webknossos"}
mkdocs-video = {branch="master", git="https://github.com/calmzhu/mkdocs-video.git"}

[build-system]
Expand Down
25 changes: 13 additions & 12 deletions docs/uv.lock

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

19 changes: 13 additions & 6 deletions webknossos/uv.lock

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

0 comments on commit e0cc0dc

Please sign in to comment.