Skip to content

Deploy Typedoc API reference to GitHub Pages#226

Merged
mike-engel merged 1 commit into
cdp-6279from
cdp-6280
Jul 2, 2026
Merged

Deploy Typedoc API reference to GitHub Pages#226
mike-engel merged 1 commit into
cdp-6279from
cdp-6280

Conversation

@mike-engel

@mike-engel mike-engel commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Adds a docs workflow that builds the Typedoc reference (npm run docs) and publishes it to GitHub Pages on every push to main (and via manual dispatch), using the official actions/upload-pages-artifact + actions/deploy-pages flow.

Typedoc config updates for a coherent published site:

  • githubPages: true so a .nojekyll file is emitted (the output uses underscore-prefixed paths that Jekyll would otherwise drop).
  • projectDocuments: include the hand-written docs/{track,app,pipelines}.md guides so they render alongside the generated API reference.
  • Drop the stale PushRequestData entry from intentionallyNotExported (it is exported as of Backfill missing track API methods #224) and switch the README docs/ folder link to an absolute URL, so the docs build is warning-free.

NOTE: requires enabling GitHub Pages for the repo with Source = GitHub Actions.

AI assisted 🤖


Note

Low Risk
Documentation and CI-only changes; no runtime SDK behavior. Requires enabling GitHub Pages with Actions as the source.

Overview
Adds a GitHub Actions workflow (.github/workflows/docs.yml) that runs npm run docs on every push to main (and on manual dispatch), uploads the typedoc output, and deploys it with the official Pages artifact + deploy-pages flow (OIDC permissions, single concurrent pages deploy group).

Typedoc is tuned for the published site: githubPages: true (.nojekyll for underscore paths), projectDocuments for the hand-written docs/track.md, docs/app.md, and docs/pipelines.md, and removal of stale PushRequestData from intentionallyNotExported. The README API section now links the docs/ folder with an absolute GitHub URL.

Repo setup: GitHub Pages must use Source = GitHub Actions.

Reviewed by Cursor Bugbot for commit c1a2d86. Bugbot is set up for automated code reviews on this repo. Configure here.

@mike-engel mike-engel self-assigned this Jul 1, 2026
Adds a docs workflow that builds the Typedoc reference (npm run docs) and
publishes it to GitHub Pages on every push to main (and via manual dispatch),
using the official actions/upload-pages-artifact + actions/deploy-pages flow.

Typedoc config updates for a coherent published site:
- githubPages: true so a .nojekyll file is emitted (the output uses
  underscore-prefixed paths that Jekyll would otherwise drop).
- projectDocuments: include the hand-written docs/{track,app,pipelines}.md
  guides so they render alongside the generated API reference.
- Drop the stale PushRequestData entry from intentionallyNotExported (it is
  exported as of #224) and switch the README docs/ folder link to an absolute
  URL, so the docs build is warning-free.

NOTE: requires enabling GitHub Pages for the repo with Source = GitHub Actions.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@sydneycollins-cio sydneycollins-cio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@mike-engel mike-engel merged commit 9c9917b into cdp-6279 Jul 2, 2026
15 checks passed
@mike-engel mike-engel deleted the cdp-6280 branch July 2, 2026 14:31
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.

2 participants