docs(www): SEO/AEO audit fixes for simple-stack.dev#93
Draft
bholmesdev wants to merge 1 commit intomainfrom
Draft
docs(www): SEO/AEO audit fixes for simple-stack.dev#93bholmesdev wants to merge 1 commit intomainfrom
bholmesdev wants to merge 1 commit intomainfrom
Conversation
Improves search engine visibility and AI citation quality for the Starlight docs site: - Set canonical `site: https://simple-stack.dev` so Starlight emits canonical, og:url, and absolute asset URLs. - Add `@astrojs/sitemap` integration (auto-publishes /sitemap-index.xml) and a `public/robots.txt` referencing it. - Inject site-wide JSON-LD (`Organization` + `WebSite`) plus default robots / og:site_name / twitter:card meta via Starlight's `head` config so AI engines (ChatGPT, Perplexity, Gemini AI Overviews) can attribute and cite correctly. - Rewrite page `description` frontmatter to be answer-first, ~150 char, entity-rich, and to clearly mark deprecated pages (Stream, Form) so AI summaries reflect their status. - Strip emoji from page `title` frontmatter so the resulting `<title>` and OG titles read cleanly in SERPs and AI citations while keeping decorative emoji in sidebar labels. Co-Authored-By: Oz <oz-agent@warp.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
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.
SEO / AEO audit for
simple-stack/wwwThis PR ships the highest-impact SEO and Answer Engine Optimization (AEO) fixes for the Starlight-powered docs site at https://simple-stack.dev.
Audit findings
Crawlability / discovery
astro.config.mjshad nositeURL → Starlight could not emit canonical URLs, absoluteog:image/og:url, or a sitemap.robots.txt.sitemap.xml/sitemap-index.xml.Structured data (AEO)
On-page SEO/AEO
descriptionfrontmatter was very short, generic, and did not lead with a self-contained answer ("A simple library to query the DOM…", "The simple way to validate forms…").<title>values contained leading/trailing emoji (💾 Simple store,Simple stream 🌊) which read poorly in SERPs and AI citations.Changes
www/astro.config.mjssite: "https://simple-stack.dev"and added@astrojs/sitemapintegration.description,favicon, and aheadconfig that injects:application/ld+jsonwith anOrganization+WebSitegraph (sameAslinking to the GitHub org and Discord) for AI attribution.<meta name="robots" content="index, follow, max-image-preview:large">.<meta property="og:site_name" content="Simple Stack">.<meta name="twitter:card" content="summary_large_image">.www/package.json: added@astrojs/sitemap@^3.6.0(already in the workspace lockfile).www/public/robots.txt: new file allowing crawling and pointing to/sitemap-index.xml.index.mdx,store.mdx,query.mdx,scope.mdx,stream.md,form/index.mdx,form/client.md,form/parse.md:title(sidebar labels still keep their emoji).descriptionto be answer-first, entity-rich, ~150 chars.Deprecated:so AI summaries reflect their status.Notes
astro.config.mjssyntax loads afternpm install. A fullastro buildfails on404.astrodue to a pre-existing zod/Starlight schema incompatibility onmain(reproduced on the unmodified branch), unrelated to this PR. All docs pages transformed successfully (vite ✓ built).<title>/ OG title strings were de-emojified.ArticleJSON-LD withdatePublished/dateModified, and a custom social card image referenced viaheadog:image.Conversation: https://app.warp.dev/conversation/115c1de7-a28f-4f75-9890-920ec467af16
Run: https://oz.warp.dev/runs/019dd351-2577-7859-ad8b-73e11b92c597
This PR was generated with Oz.