Skip to content

ci: stop deploying the API reference from this repository - #2181

Open
Duncanma wants to merge 1 commit into
mainfrom
ci/stop-deploying-api-reference
Open

Duncanma wants to merge 1 commit into
mainfrom
ci/stop-deploying-api-reference

Conversation

@Duncanma

@Duncanma Duncanma commented Dec 2, 2026

Copy link
Copy Markdown

What this changes

Removes the "Deploy prod API docs" step from .github/workflows/ci.yml. The step ran npx vercel deploy build/apidocs ... --prod on every push to main and published the result to https://python.temporal.io. Nothing else in the workflow changes: the "Build API docs" step (poe gen-docs, with pydoctor's warnings-as-errors) still runs on the same matrix entry, so a documentation build that breaks is still caught, and the docsTarget flag is still used by it and by the README table-of-contents check.

Why

The Documentation team is taking over publishing the SDK API reference sites, so that all of them are built and deployed the same way. The new pipeline is in https://github.com/temporalio/sdk-api-reference. It watches this repository's GitHub releases, builds the reference from the release tag, checks it, and deploys it to the existing python Vercel project. Two things deploying production builds to the same project would overwrite each other, so this repository's deploy step has to go.

What changes for python.temporal.io

  • The site will show the latest release (currently 1.37.0), not main. Documentation changes merged to main appear on the site after the next release.
  • A new release shows up within about ten minutes of being published.
  • The reference is built with pydoctor at the version pinned in uv.lock, using this repository's own settings in pyproject.toml.
  • The pages gain a small Temporal bar and footer. The favicon is the one in scripts/_img, as before.
  • The URLs are unchanged.

One thing to keep in mind

The pipeline builds with the ProtobufSystem class in scripts/gen_docs.py (it imports the class rather than copying it), so that links to the generated *_pb2 types resolve. If that class is renamed or removed, the reference build for the next release will fail and the Documentation team will see a tracking issue for it. Please let us know if you plan to change it.

After merging

  • The VERCEL_TOKEN, VERCEL_ORG_ID and VERCEL_PROJECT_ID secrets in this repository are no longer used by any workflow and can be deleted.
  • The Documentation team will publish the new site once this merges, so nothing needs to be done on the site itself.

Questions: Duncan Mackenzie (@Duncanma)

The Documentation team now publishes python.temporal.io from
temporalio/sdk-api-reference, from each release. Remove the production deploy
that ran on every push to main; two production deploys to the same Vercel
project would overwrite each other. The API docs build check is unchanged.
@Duncanma
Duncanma requested a review from a team as a code owner December 2, 2026 00:51
@Duncanma Duncanma added the skip-changelog PR changes do not require changelog updates label Dec 2, 2026
@CLAassistant

CLAassistant commented Dec 2, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Duncanma
Duncanma enabled auto-merge (squash) December 2, 2026 00:55

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

skip-changelog PR changes do not require changelog updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants