Skip to content

docs: group the site into guides, recipes, and package pages - #47

Merged
vitehub-bot[bot] merged 5 commits into
mainfrom
docs/restructure
Oct 21, 2026
Merged

vitehub-bot[bot] merged 5 commits into
mainfrom
docs/restructure

Conversation

@onmax

@onmax onmax commented Oct 21, 2026

Copy link
Copy Markdown
Owner

Groups the docs site into guides, recipes, and package pages. Package pages had each copied the same Renderers, Theming, and Validation sections; shared guides replace those copies.

What changes

  • Guides at /guide/: Renderers (which entry each package has, several plugins in one renderer, scripts and styles, CSP), Theming (the --comark-* tokens, the Nuxt UI mapping, each plugin's own variables), Validation (meta.issues and what each plugin reports), and Agents (the skills).
  • Recipes at /recipes/: a whole review document, screenshots in a zoom group, and screenshots in a carousel.
  • Package pages drop their Renderers tables and generic theming, keep what's specific to them, and link the guides. Credits drop the shared Comark line.
  • Sidebar: every page sits in a group (Guides, Recipes, Review blocks, Page behavior, Authoring tools). The headings of the current page move to an "On this page" column on the right. On narrow screens, a menu holds the sidebar.
  • Index: one section per group, each with cards from that group's pages.
  • For agents: on a package page, this button installs only that package's skill when it has one (--skill comark-annotate).
  • doctor.config.ts lints docs/pages/**/*.md, so the guides and recipes are checked too.

Rebase onto main

This was written before comark-tabs (#37) and the lint fixes (#43). The rebase:

  • keeps main's ::examples name for the docs-only example tabs, since ::tabs belongs to comark-tabs now. doctor.config.ts lists cards, example, and examples.
  • ports tabs: it goes under Page behavior, gets a row in the Renderers, Theming, and Validation guides, and its page and README are slimmed like the others.

comark-code (#46) is stacked on this branch.

Checks

🤖 Generated with Claude Code

Shared guides for renderers, theming, validation, and agents replace the
sections each package page copied. Recipes show annotate with zoom groups,
carousels, and a whole review document. The sidebar groups every page, and
a package's For agents button installs only its own skill.
@vitehub-bot

vitehub-bot Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor
Session Status Started Duration
Pending Completed Not started —
View session Waiting 2026-10-21T07:38:14.029Z 5m 12s
View session Last seen running 2026-10-21T07:11:50.793Z 2s

Latest result

Pull request merged.

Final answers

Session

Pull request merged.

Session

Waiting for GitHub merge request 4c36e631-7857-4c43-823a-39ae379f788b.

View session

No valid P0/P1 review findings remain; Pullfrog’s prior validation finding is resolved. The sole failing check is an environment/browser timeout, with the exact base passing, so no repair commit was made.

Session

Narrowed the validation guide metadata to plugins that validate blocks, pushed commit a9ee620, and resolved Pullfrog’s P2 documentation finding. The prior E2E timeout was an environment/browser context-menu failure with 37/38 tests passing and no code-local reproduction. Awaiting current-head checks.

Session

Narrowed the validation guide metadata to plugins that validate blocks, pushed commit a9ee620, and resolved Pullfrog’s P2 documentation finding. The prior E2E timeout was an environment/browser context-menu failure with 37/38 tests passing and no code-local reproduction. Awaiting current-head checks.

Session

Waiting for review checks before the next pass.

Session

Waiting for review checks before the next pass.

Session

Waiting for review checks before the next pass.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ a9ee620 2026-10-21T07:20:34.529Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ d45a6cd 2026-10-21T06:37:56.847Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ 2877689 2026-10-21T06:29:28.462Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ fe8e53b 2026-10-21T06:10:22.727Z Visit the dashboard ↗
  • Build: Success ✅

View logs ↗
No Preview URL. Enable ↗ f525564 2026-10-21T05:46:33.983Z Visit the dashboard ↗

@pkg-pr-new

pkg-pr-new Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

comark-annotate

pnpm add https://pkg.pr.new/onmax/comark-plugins/comark-annotate@47

comark-carousel

pnpm add https://pkg.pr.new/onmax/comark-plugins/comark-carousel@47

comark-charts

pnpm add https://pkg.pr.new/onmax/comark-plugins/comark-charts@47

comark-embed

pnpm add https://pkg.pr.new/onmax/comark-plugins/comark-embed@47

comark-github-callouts

pnpm add https://pkg.pr.new/onmax/comark-plugins/comark-github-callouts@47

comark-include

pnpm add https://pkg.pr.new/onmax/comark-plugins/comark-include@47

comark-lint

pnpm add https://pkg.pr.new/onmax/comark-plugins/comark-lint@47

comark-tabs

pnpm add https://pkg.pr.new/onmax/comark-plugins/comark-tabs@47

comark-zoom

pnpm add https://pkg.pr.new/onmax/comark-plugins/comark-zoom@47

commit: a9ee620

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ℹ️ One documentation claim is broader than the implementation; minor suggestion inline.

Reviewed changes

  • Docs structure — Added shared Guides and Recipes pages, grouped package pages into generated sidebar and index cards, and added a responsive table of contents and mobile menu.
  • Docs generator — Added route metadata, group-aware cards/navigation, per-package agent-skill commands, and generated pages for the new content.
  • Package documentation — Removed duplicated renderer, theming, and validation sections from package pages and updated links and README references.
  • Validation coverage — Expanded Vite Doctor's Markdown glob to cover nested guide and recipe pages and replaced the old index component with cards.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

Comment thread docs/pages/guide/validation.md Outdated

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ℹ️ No new issues found in the incremental changes. The charts page registration and homepage tagline are consistent with the existing docs generator, and pnpm docs:build completed successfully.

Reviewed changes

  • Charts page registration — Added comark-charts to the generated page list and grouped it under Review blocks, so the existing charts documentation is rendered and linked by the site.
  • Site tagline — Updated the homepage metadata to mention charts alongside the other available plugins.

The prior Pullfrog finding about the broad Validation page description remains open and was not changed by this incremental delta.

Pullfrog  | Fix it ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

onmax added 2 commits October 21, 2026 08:28
…op the example frame around a lone card

The chart rules set height:auto on every SVG in the plot, so annotate's arrow stretched to its viewBox and ran past its head, and the circle squashed. They now reach only the chart's own SVG.

A chart, a link card, or a diff draws its own card, so its docs example no longer frames it a second time.
…="none"

The box around a marked point grows to fit a circle, so with nothing drawn the arrow stopped about 20px short. A bare mark now keeps its box tight to the point.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ℹ️ No new issues were introduced by this incremental change; the existing validation metadata finding remains unresolved.

Reviewed changes

  • Chart sizing — Narrowed the chart CSS selectors so direct-child sizing applies to the chart SVG without stretching annotation circles and arrows, while preserving marked-chart print and responsive sizing.
  • Example framing — Added charts, link cards, and diffs to the standalone-preview rules so their own cards are not nested inside the example frame.
  • Documentation links — Updated package documentation links to the new guide and recipe routes.

Pullfrog  | Fix it ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ℹ️ No new issues were introduced by the latest incremental change; the existing validation metadata finding remains unresolved.

Reviewed changes

  • Annotation arrow placement — Reduced the padding used for mark="none" chart boxes so side-note arrows reach the marked data point without changing visible mark sizing.

Pullfrog  | Fix it ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes

  • Validation metadata — Narrowed the guide's description and tagline to plugins that validate blocks, matching the page's documented meta.issues behavior and resolving the prior review finding.

pnpm docs:build passes and generates all 16 documentation routes.

Pullfrog  | View workflow run | Using gpt-5.6-sol | 𝕏

@vitehub-bot
vitehub-bot Bot merged commit e01047d into main Oct 21, 2026
8 of 9 checks passed
@github-actions github-actions Bot mentioned this pull request Oct 21, 2026
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