Repository navigation
docs: redesign the Pages site and add search and AI metadata - #11
Merged
Merged
Conversation
Move the site to the shared docs theme (site.css, site.js) used by every Schero94 plugin site and rebuild the page on its skeleton: top bar, hero with the message timeline screenshot (light, dark and phone versions kept), side navigation, content column and a footer with links to the plugin hub. Spacing and type scale, readable line length, light and dark colours with AA contrast, copy buttons on every code block. The new site-extra.css holds only the orange accent from the plugin icon and three small layout rules. Search and AI: - 150-character description, robots meta, Twitter tags, og.jpg (1200x630, cut from the existing message timeline screenshot), preload of the hero image, breadcrumb (hub > plugins > MessageGate) - JSON-LD graph: SoftwareApplication, BreadcrumbList and a FAQPage built from the new visible FAQ, whose answers come from the README FAQ and the Costs section - 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.21.0 || >=24.9.0 <=26.x.x (the hero said "Node.js 22 / 24"). The page names no current package version. 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 MessageGate 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. All sections, ids, content and screenshots stay.
Design (shared
site.css+site.js, byte-identical across the plugin sites)<picture>sources kept), side navigation, content column, footer with hub links.site-extra.csswith only the orange accent (from the plugin icon) and three small rules (picture display, top links on small phones, full-width install steps).Search and AI
img/og.jpg(1200x630, cut from the existing timeline screenshot), preload of the hero image.@graph:SoftwareApplication(MIT, price 0, npm download URL, repository, author),BreadcrumbList(Schero94 > Plugins > Magic MessageGate) andFAQPagebuilt from a new visible FAQ of six questions taken from the README FAQ and Costs section.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,--checkpasses).Facts synced with the README: Node.js
^22.21.0 || >=24.9.0 <=26.x.x(the hero said "Node.js 22 / 24"). No current package version on the page.Checks
npm test: 159 pass, 0 fail.npx eslint .clean,npx prettier --check .clean (docs/site is prettier-ignored).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.scripts/check-plugin-pages.mjsstill lists this site under its old name (Magic-WhatsApp,strapi-plugin-magic-whatsapp), so it reports the title, repository link and feature terms as missing. That entry needs updating in the workbench; the failures are the same as before this change.Commit type
docs:, so semantic-release publishes nothing.🤖 Generated with Claude Code