Repository navigation
docs: redesign the Pages site and add search and AI metadata - #23
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)site-extra.cssnow 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
img/og.jpg(1200x630, cut from the existing editor screenshot), preload of the hero image.@graph:SoftwareApplication(MIT, price 0, npm download URL, repository, author),BreadcrumbList(Schero94 > Plugins > Magic Editor X) andFAQPagebuilt from a new visible FAQ of five questions, each answer taken from the README.robots.txt(allows Googlebot, Google-Extended, GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot) andsitemap.xml.llms.txtnow names the requirements and links the docs site, npm and the hub;llms-full.txtis unchanged (generated).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.scripts/check-plugin-pages.mjs(copy run against this clone):Magic-Editor-X: valid.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.Commit type
docs:, so semantic-release publishes nothing.🤖 Generated with Claude Code