Skip to content

Commit 30ec42e

Browse files
authored
Annotation improvements (#602)
* WIP * WIP * WIP * docs: add links to changelogs * refactoring * renaming everything consistently to volume_layer * more stuff * merge master and add upload & description & orga * fixes * upgrade wkcuber deps * add changelog entries * add docs for annotation, minor fixes * formatting * add skeleton docs, make _element_id_generator pseudo-private * apply PR feedback, fix test * add more tests * fix changelog * 🤬 pylint * formatting
1 parent 2af3d5a commit 30ec42e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2091
-1355
lines changed

docs/generate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if [ ! -d "wk-repo" ]; then
1515
exit 1
1616
fi
1717

18-
export PDOC_CLASS_MODULES="$(poetry run python -c 'import webknossos; import inspect; print("|".join(i.__name__ + ":" + i.__module__ for i in webknossos.__dict__.values() if inspect.isclass(i)))')"
18+
export PDOC_CLASS_MODULES="$(poetry run python get_keyword_mapping.py)"
1919
if [ $# -eq 1 ] && [ "$1" = "--api" ]; then
2020
poetry run pdoc ../webknossos/webknossos ../wkcuber/wkcuber -t pdoc_templates/pure_pdoc -h 0.0.0.0 -p 8196
2121
else

docs/get_keyword_mapping.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import inspect
2+
3+
import webknossos
4+
5+
6+
print(
7+
"|".join(
8+
key + ":" + value.__module__
9+
for key, value in webknossos.__dict__.items()
10+
if getattr(value, "__module__", "").startswith("webknossos")
11+
)
12+
)

docs/mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ nav:
9696
- User: api/webknossos/administration/user.md
9797
- Project: api/webknossos/administration/project.md
9898
- Task: api/webknossos/administration/task.md
99+
- webknossos-py/changelog.md
99100
- Getting Help:
100101
- webknossos-py/development.md
101102
- Community Support: https://forum.image.sc/tag/webknossos" target="_blank
@@ -104,6 +105,7 @@ nav:
104105
- GitHub: https://github.com/scalableminds/webknossos-libs/tree/master/webknossos" target="_blank
105106
- webKnossos Cuber:
106107
- wkcuber CLI: wkcuber/index.md
108+
- wkcuber/changelog.md
107109
- Getting Help:
108110
- Community Support: https://forum.image.sc/tag/webknossos" target="_blank
109111
- Email Support: mailto:[email protected]

0 commit comments

Comments
 (0)