Skip to content

feat(docs): add API reference generation and PR CI - #1

Merged
moonyue-w merged 10 commits into
mainfrom
1789724353-py-sdk-docs-ci-gate
Sep 22, 2026
Merged

moonyue-w merged 10 commits into
mainfrom
1789724353-py-sdk-docs-ci-gate

Conversation

@moonyue-w

Copy link
Copy Markdown
Collaborator

Summary

  • generate and commit deterministic API reference with pinned pydoc-markdown
  • add docs drift, source-link normalization, core-surface sanity, internal-link, and README snippet checks
  • document Makefile entry points and add PR CI for lint, typecheck, test, and docs-check

Testing

  • uv run make lint
  • uv run make typecheck
  • uv run make test
  • uv run make docs-check

Pin generation config from a discovery spike: single-file markdown renderer
to docs/api/reference.md, filter expression dropping imported-name Indirections,
github source_linker (normalized downstream). Static docspec parsing avoids
TYPE_CHECKING import errors.

Task: 1789724353
…reference

scripts/generate-docs.py wraps pydoc-markdown (console script), wipes+regenerates
docs/api/reference.md, and normalizes source links to blob/main/<path> (no SHA, no
line anchor). Two runs on the same commit are byte-identical.

Task: 1789724353
Surfaced by the new make lint / CI gate; mechanical line-wrapping and
trailing commas only, no logic change.

Task: 1789724353
@moonyue-w
moonyue-w merged commit f5b6946 into main Sep 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant