Skip to content

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

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 Session Manager docs site moves to the shared theme that all eight Schero94 plugin sites use (same site.css and site.js as Schero94/Magic-Mail#31), and gets search and AI metadata. Content and screenshots stay.

Design

  • Spacing and type scale, 68ch line length, 17 px body text, light and dark colours from tokens with AA contrast, visible focus, reduced motion.
  • Flat hero with the sessions dashboard next to the headline, breadcrumb, copy buttons on code blocks, FAQ with +/− toggles, footer with hub links.
  • site-extra.css holds only the indigo accent (from the icon), the HTTP verb cards and a top-bar fix for narrow phones (changelog link moves to the footer below 560 px, the name hides below 400 px).
  • Markup: <main class="layout"> now wraps the side navigation and content like on the other sites; the FAQ sits in one .faq container.

Search and AI

  • Unique title, 150-character description, robots meta, Twitter tags, a 1200×630 og.jpg cut from the existing dashboard screenshot, preload of the hero image.
  • JSON-LD @graph: SoftwareApplication, BreadcrumbList (Schero94 > Plugins > Magic Session Manager) and FAQPage from the eight questions on the page.
  • New llms.txt, robots.txt (Googlebot, Google-Extended, GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot allowed) and sitemap.xml.
  • Definition sentence in the hero and a "Use it when / Skip it when / Requirements" block, every fact from the README and package.json.
  • Hub and docs link to each other; each page keeps its own canonical. The page names no package version.

Checks

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

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, a flat hero with the sessions dashboard
next to the headline, copy buttons on code blocks, FAQ toggles and a
footer with links to the plugin hub. site-extra.css now holds the
indigo accent, the HTTP verb cards and a narrow-phone top bar fix.

Structure: the page now uses <main class="layout"> around the side
navigation and content (as on the other plugin sites), and the FAQ sits in
one .faq container.

Search and AI:
- longer unique title, 150-character description, robots meta, a
  1200x630 og.jpg cut from the existing dashboard screenshot, preload of
  the hero image, breadcrumb (hub > plugins > Magic Session Manager)
- JSON-LD graph: SoftwareApplication, BreadcrumbList and a FAQPage built
  from the eight questions 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 from README and package.json (Strapi ^5.50.0, Node.js
  ^22.22.2 || >=24.15.0, SESSION_ENCRYPTION_KEY in production, several
  processes need PostgreSQL or MySQL)

The hero facts now name the peer range (Strapi ^5.50.0) instead of
"tested on 5.63". The page names no 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>
@Schero94
Schero94 merged commit 1294e02 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