Skip to content

Add docs for Charming pretext#414

Merged
pearmini merged 1 commit intomainfrom
docs-pretext
Apr 4, 2026
Merged

Add docs for Charming pretext#414
pearmini merged 1 commit intomainfrom
docs-pretext

Conversation

@pearmini
Copy link
Copy Markdown
Member

@pearmini pearmini commented Apr 4, 2026

No description provided.

@pearmini pearmini requested a review from Copilot April 4, 2026 18:11
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying api with  Cloudflare Pages  Cloudflare Pages

Latest commit: 86be19d
Status: ✅  Deploy successful!
Preview URL: https://f2f74166.charming-a13.pages.dev
Branch Preview URL: https://docs-pretext.charming-a13.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying charming-pretext with  Cloudflare Pages  Cloudflare Pages

Latest commit: 86be19d
Status: ✅  Deploy successful!
Preview URL: https://1f6bda21.charming-pretext.pages.dev
Branch Preview URL: https://docs-pretext.charming-pretext.pages.dev

View logs

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new documentation page for Charming Pretext and wires it into the docs navigation, plus a small tweak to a Pretext demo’s default font size.

Changes:

  • Add a new docs/charming-pretext.md page describing the Pretext-based text-in-path layout API with examples.
  • Link the new page from the API index and VitePress sidebar/nav.
  • Adjust fontSize in the demo/pretext/us-map-paper demo.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 3 comments.

File Description
docs/charming-pretext.md New docs page for prepare, layoutTextInPath, and clearPrepareCache, with Canvas/SVG examples.
docs/api-index.md Adds Charming Pretext section and links to the new API docs anchors.
docs/.vitepress/config.mjs Adds “Demos” nav entry and sidebar link for Charming Pretext.
demo/pretext/us-map-paper/index.js Changes demo font size from 18 to 16.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/charming-pretext.md
Comment thread docs/charming-pretext.md
Comment thread docs/charming-pretext.md
@pearmini pearmini merged commit 721cbb4 into main Apr 4, 2026
7 checks passed
@pearmini pearmini deleted the docs-pretext branch April 4, 2026 18:23
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