Skip to content

docs: redesign the Pages site and add search and AI metadata - #31

Merged
Schero94 merged 2 commits into
mainfrom
docs/pages-design-seo
Nov 19, 2026
Merged

Schero94 merged 2 commits into
mainfrom
docs/pages-design-seo

Conversation

@Schero94

Copy link
Copy Markdown
Owner

What changes

The MagicMail docs site moves to the shared theme that all eight Schero94 plugin sites will use, and gets search and AI metadata. Content and screenshots stay; facts are synced with the README.

Design (shared site.css + site.js, byte-identical across the plugin sites)

  • Spacing and type scale, 68ch line length, 17 px body text.
  • Light and dark colours from tokens, AA contrast, visible focus, reduced motion.
  • Flat hero with the accounts screenshot next to the headline, breadcrumb, copy buttons on code blocks, FAQ with +/− toggles, three-column footer with hub links.
  • site-extra.css now holds only the MagicMail accent (from the plugin icon).

Search and AI

  • Unique title and a 155-character description, robots meta, Twitter tags, preload of the hero image.
  • JSON-LD @graph: SoftwareApplication (MIT, price 0, npm download URL, repository, author), BreadcrumbList (Schero94 > Plugins > MagicMail) and FAQPage built from the six questions shown on the page.
  • New llms.txt (llmstxt.org layout), robots.txt (allows Googlebot, Google-Extended, GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot) and sitemap.xml.
  • A one-sentence definition in the hero and a "Use it when / Skip it when / Requirements" block.
  • Hub and docs link to each other; each page keeps its own canonical.

Facts synced with the README: eight providers including Brevo and Amazon SES, their provider templates and webhooks (bounce table has Brevo and SES rows now), CI on Node.js 22, 24 and 26.

No hardcoded version. The page names no package version, so nothing goes stale after a release. A follow-up can stamp softwareVersion from package.json in pages.yml; it is not in this PR because the push token has no workflow scope.

Checks

  • npm test: 945 pass, 0 fail. npx eslint . clean, npx prettier --check . clean.
  • Workbench scripts/check-plugin-pages.mjs (copy run against this clone): Magic-Mail: valid.
  • Playwright on a local server: zero horizontal overflow at 320, 390, 768, 1024 and 1440 px in light and dark, one h1, no broken anchors or duplicate ids, JSON-LD parses, first Tab reaches the skip link, reduced motion turns off smooth scrolling, no console errors.
  • Lighthouse 13.6 mobile, local: performance 100, accessibility 100, best practices 100, SEO 100 (live site before: 100 / 96 / 100 / 100).

Commit type docs:, so semantic-release publishes nothing.

🤖 Generated with Claude Code

Move the site to the shared docs theme (site.css, site.js) used by every
Schero94 plugin site: spacing and type scale, readable line length, light
and dark colours with AA contrast, flat hero with the accounts screenshot,
copy buttons on code blocks, FAQ, footer with links to the plugin hub.
site-extra.css now holds only the MagicMail accent.

Search and AI:
- shorter unique description, robots meta, Twitter tags, preload of the
  hero image, breadcrumb (hub > plugins > MagicMail)
- JSON-LD graph: SoftwareApplication, BreadcrumbList and a FAQPage built
  from the FAQ on the page
- llms.txt (llmstxt.org layout), robots.txt (allows Googlebot,
  Google-Extended, GPTBot, ClaudeBot, PerplexityBot) and sitemap.xml
- definition sentence in the hero and a "use it / skip it / requirements"
  block

Facts synced with the README: eight providers incl. Brevo and Amazon SES,
their templates and webhooks, CI on Node.js 22, 24 and 26.

The page names no package version, so nothing goes stale after a release.

Docs read 2026-11-19: llmstxt.org (file layout), Google Search Central
"Software app structured data" (SoftwareApplication properties),
schema.org FAQPage and BreadcrumbList.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fold the fixes found while rolling the theme out to all plugin sites into
the shared site.css: the install line in the hero no longer shows a code
box inside its box and its Copy button stays on one line, step lists use
the full content width, a <picture> in a screenshot is a block, and code
in table cells breaks anywhere only on phones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Schero94
Schero94 merged commit f234580 into main Nov 19, 2026
8 checks passed
@Schero94
Schero94 deleted the docs/pages-design-seo branch November 19, 2026 23:26
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