Skip to content

feat(site): add the SDKs section with a page for each SDK - #20

Draft
pimlock wants to merge 2 commits into
feat/core-only-docs/pimlockfrom
feat/sdk-stubs/pimlock
Draft

pimlock wants to merge 2 commits into
feat/core-only-docs/pimlockfrom
feat/sdk-stubs/pimlock

Conversation

@pimlock

@pimlock pimlock commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Brings the SDKs section back with every SDK in it, so we can see how it looks before moving the SDK docs out of the core docs. Stacked on #19 (which drops the SDKs for the first release). Draft: this is a preview of the direction, not for the first release. Part of #21.

Changes

  • sources.yml: the SDKs topic lists the Go, Python, TypeScript, and Rust SDKs. Go uses its own published docs (ai-openshell/sdk-go, as before feat(site): publish only the core docs for now #19). Python, TypeScript, and Rust get a placeholder page each.
  • stubs/sdk-*/: one-page native docsets. Each says the SDK's docs will move here, links its page in the core docs (core://sdk/<lang>), and names its repository and package.
  • Assembler: a version can set local: <dir> instead of a ref; it's built from that directory in this repo without fetching, recorded as the site repo with sha working-tree, and its broken links fail the build (like --local). The placeholders use version name preview.
  • topics/sdks.mdx: the SDKs overview intro, restored.
  • README and CONTRIBUTING: the Go SDK row, the placeholders, and local: versions.

Testing

  • mise run lint, mise run test (30 of 30, including two new tests for local: versions), and mise run typecheck pass.
  • mise run website builds: /docs/sdks/ lists the four SDKs as cards with sub-tabs (Overview, Go SDK, Python SDK, TypeScript SDK, Rust SDK); /docs/sdks/python/ shows the placeholder with a working link to /docs/sdk/python/.

The SDKs topic comes back with the Go SDK's own docs and a placeholder page for the Python, TypeScript, and Rust SDKs, so the section shows every SDK before their docs move out of the core docs. Each placeholder points to the SDK's page in the core docs and its repository.

The placeholders live in stubs/ in this repo. A version in sources.yml can now set local: <dir> instead of a ref, and the assembler builds it from that directory without fetching; it's recorded as this repo with sha working-tree, and its broken links fail the build.

Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
@pimlock
pimlock marked this pull request as ready for review November 24, 2026 00:20
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
@pimlock
pimlock marked this pull request as draft November 24, 2026 00:21

This branch has not been deployed

No deployments
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