ext-apps/docs
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
..
favicons Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00
agent-skills.md Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00
authorization.md Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00
csp-cors.md Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00
index.html Add API docs (#29) 2025-11-27 22:09:22 +00:00
mcp-theme.css fix(readme): use picture element for theme-aware logo (#545) 2026-03-10 17:33:40 +00:00
migrate_from_openai_apps.md Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00
overview.md Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00
patterns.md Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00
patterns.tsx Add binary blob resource pattern to patterns guide 2026-01-28 14:50:34 -06:00
quickstart-success.png Rewrite Quickstart guide with type-checked code examples 2026-01-24 09:41:51 -06:00
quickstart.md Work around tsx watch hang on Windows in quickstart (#428) 2026-03-06 14:32:30 +00:00
testing-mcp-apps.md Add Security documentation section and SEO improvements (#524) 2026-03-06 13:45:15 +00:00