Skip to content

ci: add SDK API reference sync workflows for TypeScript and Python#7943

Merged
jwulf merged 13 commits intomainfrom
sdk-docs-ci
Feb 27, 2026
Merged

ci: add SDK API reference sync workflows for TypeScript and Python#7943
jwulf merged 13 commits intomainfrom
sdk-docs-ci

Conversation

@jwulf
Copy link
Member

@jwulf jwulf commented Feb 16, 2026

Description

This PR adds CI workflows and documentation for automatically syncing SDK API reference documentation into camunda-docs. This is the first of four PRs outlined in #7942.

What's included

  • .github/workflows/sync-ts-sdk-docs.yaml — Weekly sync workflow for TypeScript SDK API reference (TypeDoc → Markdown)
  • .github/workflows/sync-python-sdk-docs.yaml — Weekly sync workflow for Python SDK API reference (Sphinx → Markdown)
  • howtos/sdk-api-reference.md — Documentation for maintainers on how the SDK doc sync works
  • howtos/setup.md — Note about dev server memory usage during large file regenerations

How the sync works

  • Weekly schedule: Pulls from SDK main branch, generates docs, copies to docs/apis-tools/ (next), opens a PR
  • Manual dispatch with docs_version: e.g. entering 8.8 checks out stable/8.8 from the SDK, copies to versioned_docs/version-8.8/apis-tools/, opens a PR
  • Follows the same pattern as the existing REST API sync workflow

PR plan (from #7942)

  1. This PR — CI workflows + documentation
  2. Generated TypeScript and Python SDK API reference docs +sidebars.js — Sidebar entries for the TypeScript and Python SDK API reference sections (next)
  3. C# SDK CI workflow + sidebar (Technical Preview)
  4. Generated C# SDK docs (Technical Preview)

When should this change go live?

  • There is no urgency with this change and can be released at any time.

PR Checklist

  • My changes are for the next minor and are in /docs directory (aka /next/).

Ref #7942

@jwulf jwulf added 8.9.0-alpha5 dx Documentation infrastructure typically handled by the Camunda DX team labels Feb 16, 2026
@jwulf jwulf force-pushed the sdk-docs-ci branch 3 times, most recently from 0fc2653 to f47eaca Compare February 16, 2026 06:59
@megglos megglos self-requested a review February 25, 2026 06:48
@megglos megglos added the deploy Stand up a temporary docs site with this PR label Feb 25, 2026
@github-actions github-actions bot temporarily deployed to camunda-docs February 25, 2026 15:09 Destroyed
jwulf added 13 commits February 27, 2026 17:03
The landing page was inside the autogenerated directory, causing
Docusaurus to render it as both the category link and a child item.
Moving it to a sibling file (apis-tools/python-sdk.md) outside the
autogenerated directory (apis-tools/python-sdk/) eliminates the
duplicate sidebar entry.
- Replace monolithic python-sdk.md with split section pages (one per H2)
- Update API reference docs from latest generator output
- Replace sidebar.js module with _category_.json (autogenerated sidebar)
- Update sidebars.js to use autogenerated dirName instead of require()
Move landing page from apis-tools/python-sdk/python-sdk.md to
apis-tools/python-sdk.md (sibling of the autogenerated directory).
Update sidebars.js link ID accordingly. Fix .gitignore to anchor
python-sdk ignore to repo root. Regenerate docs with updated output.
@jwulf jwulf enabled auto-merge February 27, 2026 04:03
@github-actions github-actions bot temporarily deployed to camunda-docs February 27, 2026 04:12 Destroyed
Copy link
Contributor

@megglos megglos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approving to unblock as agree, let's review docs for each once you are done with your iterations

@jwulf jwulf merged commit 6a278c3 into main Feb 27, 2026
5 of 7 checks passed
@jwulf jwulf deleted the sdk-docs-ci branch February 27, 2026 07:49
@github-actions
Copy link
Contributor

🧹 Preview environment for this PR has been torn down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.9.0-alpha5 deploy Stand up a temporary docs site with this PR dx Documentation infrastructure typically handled by the Camunda DX team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants