Documentation versions¶
Sim2Bot currently publishes one documentation line from main. That is the
right model while the SDK is alpha and has no supported historical releases.
When to enable versioning¶
Enable a version selector after the first public SDK release when all three are true:
sim2botpackages have immutable version tags such asv0.2.0.- Users may remain on an older SDK while a newer release exists.
- The API reference differs enough that
latestalone could mislead users.
Until then, a selector would imply support guarantees that do not exist yet.
Recommended URL model¶
| URL | Meaning |
|---|---|
/latest/ |
Documentation built from main; may describe unreleased work. |
/stable/ |
Alias for the newest supported SDK release. |
/0.2/ |
Frozen documentation for the latest 0.2.x release. |
Once versioning is enabled, the in-app Documentation window should point to
/stable/ in production and to the local MkDocs server during development.
Recommended release workflow¶
Use mike with Material for MkDocs when the first stable version is ready:
For unreleased documentation:
At release time:
- Merge validated staging work into
main. - Run SDK tests, documentation example checks, and the strict MkDocs build.
- Tag the SDK release.
- Deploy its major/minor documentation version and update
stable. - Verify the version selector, search, source links, and in-app iframe.
Current decision¶
Do not add mike to production dependencies or enable its version selector yet.
This page records the exact migration path so versioning can be activated without
redesigning the documentation later.