Skip to content

ci: wire post-process-cli-docs.js into CLI docs update workflow#4866

Open
lennessyy wants to merge 3 commits into
mainfrom
ci/wire-post-process-cli-docs
Open

ci: wire post-process-cli-docs.js into CLI docs update workflow#4866
lennessyy wants to merge 3 commits into
mainfrom
ci/wire-post-process-cli-docs

Conversation

@lennessyy

@lennessyy lennessyy commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

bin/post-process-cli-docs.js injects the ReleaseNoteHeader banner into cloud CLI pages and keeps command-reference/index.mdx and sidebars.js in sync with the generated commands. update-cli-docs.yml didn't call it, so the banner and index/sidebar updates only happened on past regens where someone ran the script locally before committing. Since the docs went through the workflow without it (#4864), the banner is missing from the cloud CLI pages it produced.

This adds a step that runs the script right after the generated docs are copied in and the hand-maintained index files are restored, and before the result is committed.

Test plan

  • Confirm the next update-cli-docs.yml run (or a manual workflow_dispatch) produces cloud CLI pages with ReleaseNoteHeader present
  • Confirm docs/cli/command-reference/index.mdx and sidebars.js stay consistent with the generated command set

gen-docs (temporalio/cli#1112) stopped emitting the ReleaseNoteHeader
banner on cloud CLI pages, assuming this script would add it back, but
the workflow never actually called it. Run it after regenerating the
command reference so the banner, index.mdx, and sidebars.js stay in sync.
@lennessyy lennessyy requested a review from a team as a code owner July 11, 2026 00:07
@vercel

vercel Bot commented Jul 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Jul 11, 2026 12:15am

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

This PR does not change any pages in /docs. If you make updates, links to the modified pages will appear here.

…tion

gen-docs never emitted that banner, in any version; the script has had
that job since it was created, CI just never called it.
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