Skip to content

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

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 Magic Editor X docs site moves to the shared theme that all eight Schero94 plugin sites use (pilot: Schero94/Magic-Mail#31), and gets search and AI metadata. Existing sections, ids, content and screenshots stay.

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 editor screenshot, breadcrumb, copy buttons on code blocks and the install command, three-column footer with hub links.
  • site-extra.css now holds the green accent (from the plugin icon), the three install cards, phone-sized screenshots and two small fixes (install command chip, top links on small phones, config keys on one line on wide screens).

Search and AI

  • 160-character description, robots meta, Twitter tags, img/og.jpg (1200x630, cut from the existing editor screenshot), preload of the hero image.
  • JSON-LD @graph: SoftwareApplication (MIT, price 0, npm download URL, repository, author), BreadcrumbList (Schero94 > Plugins > Magic Editor X) and FAQPage built from a new visible FAQ of five questions, each answer taken from the README.
  • New robots.txt (allows Googlebot, Google-Extended, GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot) and sitemap.xml. llms.txt now names the requirements and links the docs site, npm and the hub; llms-full.txt is unchanged (generated).
  • 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: Node.js 22.12 to 26.x (the hero said "Node 22 and 24"), acceptance host Strapi 5.63.0.

No hardcoded current version. The page names no current package version (the "New in 2.x" sections are feature history).

Checks

  • npm test: 926 pass, 0 fail. npx eslint . clean, npx prettier --check . clean.
  • Workbench scripts/check-plugin-pages.mjs (copy run against this clone): Magic-Editor-X: 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 / 100 / 100 / 100).

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

🤖 Generated with Claude Code

Schero94 and others added 2 commits November 20, 2026 00:00
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 editor screenshot,
copy buttons on code blocks, a FAQ and a footer with links to the plugin
hub. site-extra.css now holds the green accent from the plugin icon, the
three install cards, phone-sized screenshots and two small layout fixes.

Search and AI:
- 160-character description, robots meta, Twitter tags, og.jpg
  (1200x630, cut from the existing editor screenshot), preload of the
  hero image, breadcrumb (hub > plugins > Magic Editor X)
- JSON-LD graph: SoftwareApplication, BreadcrumbList and a FAQPage built
  from the new visible FAQ (free, collaboration without Redis or sticky
  sessions, AI provider and key, migrate command, frontend rendering;
  every answer taken from the README)
- robots.txt (allows Googlebot, Google-Extended, GPTBot, ClaudeBot,
  PerplexityBot) and sitemap.xml; llms.txt now names the requirements
  and links the docs site, npm and the hub
- definition sentence in the hero and a "use it / skip it / requirements"
  block

Facts synced with the README: Node.js 22.12 to 26.x (was "Node 22 and
24"), acceptance host Strapi 5.63.0.

The page names no current 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", 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 665ad56 into main Nov 19, 2026
20 checks passed
@Schero94
Schero94 deleted the docs/pages-design-seo branch November 19, 2026 23:27
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