Skip to content

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

Draft
pimlock wants to merge 1 commit into
mainfrom
feat/sdk-stubs/pimlock
Draft

pimlock wants to merge 1 commit into
mainfrom
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/.

@pimlock
pimlock marked this pull request as ready for review November 24, 2026 00:20
@pimlock
pimlock marked this pull request as draft November 24, 2026 00:21
Base automatically changed from feat/core-only-docs/pimlock to main November 24, 2026 01:06
@pimlock
pimlock marked this pull request as ready for review November 24, 2026 16:01
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 force-pushed the feat/sdk-stubs/pimlock branch from d91a083 to b4d5aae Compare November 24, 2026 16:02
@netlify

netlify Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ai-openshell-docs ready!

Name Link
🔨 Latest commit b4d5aae
🔍 Latest deploy log https://app.netlify.com/projects/ai-openshell-docs/deploys/6b05b5302b25852b321887f4
😎 Deploy Preview https://deploy-preview-20--ai-openshell-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@pimlock
pimlock marked this pull request as draft November 24, 2026 22:13

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