You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: consolidate doc trees into mkdocs site, remove stale sdk/docs (#140)
The SDK shipped two divergent doc trees: the published mkdocs site
(docs/) and a pdoc-era tree (sdk/docs/) that had drifted out of sync,
including a set_many() example that passed a dict instead of a list of
FieldUpdate objects. Both READMEs linked to the stale tree.
Pick docs/ (mkdocs) as the single canonical tree:
- Migrate the async usage guide into docs/guide/async.md, fixing the
stale set_many() dict example to use FieldUpdate and updating cross
links to match the mkdocs nav structure. (The configuration/error
handling content in sdk/docs/ was superseded by the more accurate
guide/connect.md, which already documents check_version,
RESOURCE_EXHAUSTED retries, and TimeoutError, so it was dropped
rather than migrated.)
- Add the new guide to mkdocs.yml's nav and cross-link it from
docs/index.md and docs/guide/watch.md.
- Remove sdk/docs/ entirely, along with the pdoc wiring that generated
its stale sdk/docs/api/*.html (Makefile `docs` target, the pdoc
dependency in build/Dockerfile.tools and sdk/pyproject.toml, and the
matching .gitignore entry). The Makefile `docs` target now builds the
mkdocs site directly, matching what .github/workflows/docs.yml does.
- Repoint README.md and sdk/README.md documentation links at the
published docs site (opendecree.github.io/decree-python) instead of
the removed sdk/docs/ tree, and update CLAUDE.md's tooling table.
Closes#135
0 commit comments