Skip to content

Commit e6ba99e

Browse files
authored
wk-libs docs: restructure index & add stability policy (#634)
1 parent 0063906 commit e6ba99e

File tree

3 files changed

+37
-12
lines changed

3 files changed

+37
-12
lines changed

docs/mkdocs.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,15 @@ nav:
7070
- webknossos-py/index.md
7171
- webknossos-py/installation.md
7272
- Usage Examples:
73-
- webknossos-py/examples/dataset_usage.md
74-
- webknossos-py/examples/upload_image_data.md
73+
- Dataset Examples:
74+
- webknossos-py/examples/dataset_usage.md
75+
- webknossos-py/examples/upload_image_data.md
7576
- webknossos-py/examples/apply_merger_mode.md
7677
- webknossos-py/examples/learned_segmenter.md
7778
- webknossos-py/examples/skeleton_synapse_candidates.md
78-
- webknossos-py/examples/user_times.md
79-
- webknossos-py/examples/annotation_project_administration.md
79+
- Administration Examples:
80+
- webknossos-py/examples/user_times.md
81+
- webknossos-py/examples/annotation_project_administration.md
8082
- API Reference:
8183
- Overview: api/webknossos.md
8284
- Geometry:
@@ -88,24 +90,26 @@ nav:
8890
- Layer: api/webknossos/dataset/layer.md
8991
- MagView: api/webknossos/dataset/mag_view.md
9092
- View: api/webknossos/dataset/view.md
93+
- Annotation: api/webknossos/annotation/annotation.md
9194
- Skeleton:
9295
- Skeleton: api/webknossos/skeleton/skeleton.md
9396
- Group: api/webknossos/skeleton/group.md
9497
- Graph: api/webknossos/skeleton/graph.md
9598
- Node: api/webknossos/skeleton/node.md
96-
- Annotation: api/webknossos/annotation/annotation.md
9799
- Authentication & Server Context: api/webknossos/client/context.md
98100
- Administration:
99101
- User: api/webknossos/administration/user.md
100102
- Project: api/webknossos/administration/project.md
101103
- Task: api/webknossos/administration/task.md
104+
- Other:
102105
- webknossos-py/changelog.md
103-
- Getting Help:
104-
- webknossos-py/development.md
105-
- Community Support: https://forum.image.sc/tag/webknossos" target="_blank
106-
- Email Support: mailto:[email protected]
107-
- Commercial Support: https://scalableminds.com" target="_blank
108-
- GitHub: https://github.com/scalableminds/webknossos-libs/tree/master/webknossos" target="_blank
106+
- webknossos-py/stability_policy.md
107+
- Getting Help:
108+
- webknossos-py/development.md
109+
- Community Support: https://forum.image.sc/tag/webknossos" target="_blank
110+
- Email Support: mailto:[email protected]
111+
- Commercial Support: https://scalableminds.com" target="_blank
112+
- GitHub: https://github.com/scalableminds/webknossos-libs/tree/master/webknossos" target="_blank
109113
- webKnossos Cuber:
110114
- wkcuber CLI: wkcuber/index.md
111115
- wkcuber/changelog.md
@@ -114,7 +118,6 @@ nav:
114118
- Email Support: mailto:[email protected]
115119
- Commercial Support: https://scalableminds.com" target="_blank
116120
- GitHub: https://github.com/scalableminds/webknossos-libs/tree/master/wkcuber" target="_blank
117-
118121

119122
plugins:
120123
- search
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Stability Policy
2+
3+
This project adheres to [Semantic Versioning](http://semver.org/) regarding the Python API
4+
compatibility, using the `MAJOR.MINOR.PATCH` version number format.
5+
To allow fast development of the webKnossos server, the server-client interaction may need minor
6+
version upgrades to ensure full functionality. Starting from v1 and above, minor and patch upgrades won't require
7+
changes consuming the Python API as long as the following two points are followed:
8+
9+
1. To ensure compatibility across minor and patch upgrades, please import everything directly
10+
from the webknossos module, not from submodules, e.g. use
11+
```python
12+
import webknossos as wk
13+
wk.Skeleton()
14+
# or
15+
from webknossos import Dataset
16+
Dataset()
17+
```
18+
2. Methods, functions, classes and variables prefixed with an underscore are not part of the public API
19+
and may change anytime.

webknossos/Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
All notable changes to the webknossos python library are documented in this file.
44

5+
Please see the [Stability Policy](./stability_policy.md) for details about the version schema
6+
and compatibility implications.
7+
58
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
69
and this project adheres to [Semantic Versioning](http://semver.org/) `MAJOR.MINOR.PATCH`.
710
For upgrade instructions, please check the respective *Breaking Changes* sections.

0 commit comments

Comments
 (0)