Skip to content

docs: Mintlify MDX docs + docs.json; bump Speakeasy to 1.787.0#382

Merged
mattapperson merged 1 commit into
mainfrom
docs-mintlify-latest
Jun 30, 2026
Merged

docs: Mintlify MDX docs + docs.json; bump Speakeasy to 1.787.0#382
mattapperson merged 1 commit into
mainfrom
docs-mintlify-latest

Conversation

@mattapperson

Copy link
Copy Markdown
Collaborator

Summary

Enable Speakeasy's Mintlify documentation mode and wire this repo up as a Mintlify multi-repo source (mirrors typescript-sdk and go-sdk).

The mintlify mdx emitter for the Python generator landed in generator v0.11.0 (Speakeasy CLI 1.787.0), so enabling docs here also bumps the pinned speakeasyVersion and regenerates the SDK source.

  • workflow.yaml: speakeasyVersion 1.680.0 → 1.787.0
  • gen.yaml: add documentation: mintlify (Python generator now 0.11.0)
  • docs/: Mintlify .mdx output in Speakeasy's natural tree (sdks/<tag>/README.mdx, models/, operations/, errors/, components/)
  • docs/docs.json: hand-written secondary-source config — theme, name: "Python SDK", colors, navigation listing the 27 service pages + overview. Type pages are left out of nav and served by Mintlify as hidden pages.
  • docs/overview.mdx: install + quickstart landing page.
  • .genignore: add docs/docs.json + docs/overview.mdx so regeneration won't overwrite them.
  • .gitignore: remove /docs so the generated tree is committed (was previously ignored).

SDK source changes (from the generator bump)

0.10.8 → 0.11.0 regenerated source (432 .py files modified, +15k/−7.9k):

  • pyproject.toml: version 0.10.8 → 0.11.0; requires-python >=3.9.2>=3.10 (drops 3.9 support); pydantic capped <2.13

Verification

Ran the same checks as CI's pr-validation workflow locally, all green:

  • uv build → builds openrouter-0.11.0 wheel + sdist ✓
  • uv run --group dev mypy src → no issues in 700 source files ✓
  • uv run --group dev pyright src → 0 errors, 0 warnings ✓

Test plan

  • CI pr-validation (build + mypy + pyright) green
  • Confirm dropping Python 3.9 support (requires-python >=3.10) is acceptable
  • Connect repo as a Mintlify source; site builds
  • 27 service pages render in sidebar; a type page is reachable by direct URL despite not being in nav
  • Re-run speakeasy run and confirm docs.json + overview.mdx survive (.genignore)

Enable Speakeasy's Mintlify documentation mode and wire this repo up as a
Mintlify multi-repo source. The mintlify mdx emitter for the Python generator
landed in generator v0.11.0 (Speakeasy CLI 1.787.0), so this also bumps the
pinned speakeasyVersion and regenerates the SDK source.

- workflow.yaml: speakeasyVersion 1.680.0 -> 1.787.0
- gen.yaml: add `documentation: mintlify` (Python generator now 0.11.0)
- docs/: Mintlify `.mdx` output (natural Speakeasy tree)
- docs/docs.json: hand-written secondary-source config (theme, name, colors,
  navigation listing the 27 service pages + overview). Type pages are left
  out of nav and served by Mintlify as hidden-but-reachable pages
- docs/overview.mdx: install + quickstart landing page
- .genignore: protect docs/docs.json and docs/overview.mdx from regeneration
- .gitignore: stop ignoring /docs so the generated tree is committed
- SDK source regenerated by the generator bump; pyproject version 0.10.8 ->
  0.11.0 and requires-python >=3.9.2 -> >=3.10

Verified locally: `uv build`, `mypy src` (700 files, clean), `pyright src`
(0 errors) all pass.
@mattapperson mattapperson merged commit babeffc into main Jun 30, 2026
1 check passed
@mattapperson mattapperson deleted the docs-mintlify-latest branch June 30, 2026 20:13
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