Skip to content

docs: improve AEO (JSON-LD, homepage content, headings, links)#56

Open
joalavedra wants to merge 1 commit into
docs/fix-vocs-hydrationfrom
docs/aeo-fixes
Open

docs: improve AEO (JSON-LD, homepage content, headings, links)#56
joalavedra wants to merge 1 commit into
docs/fix-vocs-hydrationfrom
docs/aeo-fixes

Conversation

@joalavedra
Copy link
Copy Markdown
Contributor

Summary

Addresses the AEO audit gaps. Stacked on #55 (the hydration fix) — merge #55 first; this PR's diff then shows only the AEO changes.

What changed

  • JSON-LD structured data (was 0): reusable src/lib/jsonld.tsx helper. Organization + WebSite + SoftwareApplication on the homepage; TechArticle on every content page. 23/24 pages now emit valid JSON-LD.
  • Homepage content (was a bare hero): added an H1, ~350 words, section headings (What you can do / How it works / Explore the APIs), internal links to key docs, and external citations — below the existing hero, so the landing design is preserved.
  • Headings / single H1: every page has exactly one descriptive H1 and a clean heading hierarchy.
  • Internal links: every content page now has 3+ contextual body links (added "Related" sections).
  • External citations (was 0): every content page links out to 2+ credible sources — Shamir's Secret Sharing, the original ACM paper, WebAuthn, RFC 6238 (TOTP), RFC 7519 (JWT), OWASP, OpenAPI, etc.
  • Thin page removed from routing: apis/ui_warning.mdxapis/_components/ui-warning.mdx. It's a shared Swagger warning partial, not a real page; the 3 Swagger pages still import it.
  • Substantial text: expanded the thin Getting Started page; the Swagger API reference pages remain embed-driven by nature.

Verification (headless browser, production build)

  • Homepage: 3 JSON-LD blocks (Organization/WebSite/SoftwareApplication), H1 + 3 H2s, ~350 words
  • All pages: valid JSON-LD parse, 0 console errors, search/Ask AI still hydrate, Swagger renders
  • Gap check: every routable content page meets 3+ internal links, 2+ external citations, JSON-LD present

Test plan

🤖 Generated with Claude Code

Address the AEO audit gaps:

- Add JSON-LD structured data via a reusable src/lib/jsonld.tsx helper:
  Organization + WebSite + SoftwareApplication on the homepage, and
  TechArticle on every content page (23/24 pages).
- Enrich the homepage below the hero with an H1, ~350 words, section
  headings, internal links to key docs, and external citations.
- Expand the thin Getting Started page with real content and links.
- Ensure every content page has at least 3 contextual internal links and
  2 external citation links (Shamir's Secret Sharing, WebAuthn, RFC 6238,
  RFC 7519, OWASP, OpenAPI, etc.) via "Related" sections.
- De-route the thin ui_warning partial by moving it to apis/_components/
  so it is no longer a standalone page (still imported by the Swagger
  pages).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
opensigner Ready Ready Preview, Comment May 29, 2026 7:58am

Request Review

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