ext-apps/.github/workflows
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Den Delimarsky a870456893
fix(readme): use picture element for theme-aware logo (#545)
* fix(readme): use picture element for theme-aware logo

The #gh-light-mode-only / #gh-dark-mode-only URL fragments only work
on github.com. On npm, VS Code preview, and other markdown renderers
both img tags render, showing two stacked logos.

Switch to <picture> with prefers-color-scheme, which GitHub recommends
and which degrades gracefully to a single logo elsewhere.

* ci: add Cloudflare Pages preview for docs PRs

Deploys a per-PR preview of the TypeDoc site to Cloudflare Pages project
mcp-ext-apps-docs-preview when docs, src JSDoc, README, or typedoc config
change. Uses the shared modelcontextprotocol/actions composite action that
injects noindex headers, posts a sticky PR comment with preview URLs, and
cleans up deployments on PR close. Fork PRs are skipped (no secret access).

* fix(docs): sync README logo with TypeDoc theme switcher

The README <picture> logo uses prefers-color-scheme, which only follows
the OS setting. TypeDoc's theme switcher sets data-theme on <html>, so
manually picking Light/Dark would show the wrong logo (e.g. white logo
on light background if OS is dark but user picked Light).

Rewrite the <picture> in the generated docs into two class-tagged <img>s
via the mcpstyle plugin, and hide the inactive one via CSS keyed on both
data-theme (explicit selection) and prefers-color-scheme (OS mode). The
README source is unchanged so GitHub/npm still get <picture>.

Also: prettier normalized mcp-theme.css (tabs to spaces, quote style).
2026-03-10 17:33:40 +00:00
..
ci.yml ci: use npm ci with caching, validate typedoc links, align Node versions (#533) 2026-03-06 17:13:58 +00:00
docs-preview.yml fix(readme): use picture element for theme-aware logo (#545) 2026-03-10 17:33:40 +00:00
docs.yml ci: use npm ci with caching, validate typedoc links, align Node versions (#533) 2026-03-06 17:13:58 +00:00
npm-publish.yml ci: build and publish MCPB bundle for pdf-server (#495) 2026-02-24 01:48:17 +00:00
publish.yml ci: add missing examples to deploy workflows (#494) 2026-02-24 00:31:37 +00:00
update-snapshots.yml fix(ci): require maintainer association for /update-snapshots trigger (#532) 2026-03-06 17:44:08 +00:00