PE-8840 | SEO/AEO fixes for splits.org/docs: llms.txt, markdown twins, og image, nav - #39
Merged
Merged
Conversation
Extend patches/vocs.patch (Vocs stays at 2.3.2): - llms.txt: description as a blockquote, one H2 per sidebar section, and every entry links the page's Markdown twin with an absolute URL. The old first link (/docs/index) 404'd. - llms-full.txt: each page is preceded by a --- separator and a Source: https://splits.org/docs/<path>/ line; in-page links are absolute. - .md twins and llms-full.txt: a text-pipeline counterpart of remarkSubheading turns "# Title [subtitle]" into a heading plus a paragraph instead of leaking "\[subtitle]" into every H1.
…e nav The og image URL lacked the trailing slash splits.org canonicalizes to, so every social scrape paid a 308 first. The top nav now links Pricing and Treasury, and Changelog gets its trailing slash for the same reason.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Section index pages resolve to paths ending in a slash, which produced links like /docs/accounts/.md in llms.txt. The twin is written as accounts.md, so strip the slash before appending the extension.
r0ohafza
marked this pull request as ready for review
September 14, 2026 20:30
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.

Summary
/docs/index) 404'd.---separator and aSource: https://splits.org/docs/<path>/line before each page, and all in-page links are absolute..mdtwin (what AI crawlers receive via content negotiation) no longer has a garbled H1:# Title [subtitle]becomes a heading plus a paragraph instead of# Title \[subtitle].Why this matters
For AI assistants (AEO). When ChatGPT, Claude, Perplexity and similar tools look at our docs, they don't read the web pages. They read
llms.txt,llms-full.txt, and the Markdown copy of each page. Today the very first link inllms.txtis broken, every page title they see starts with a stray\[, the links can't be followed from outside the site, and there's no way to tell which page a paragraph came from. After this PR they get a clean, standard-format index, correct titles, links that work anywhere, and a source URL on every page. That makes it more likely an assistant quotes our docs correctly and links back to the right page when someone asks how Splits works.For Google (SEO). Eight pages had descriptions too long for Google to show in full, so the search snippet was cut off mid-sentence. They now fit. The docs also never linked to our product pages, so none of the docs' authority flowed to them; the nav now links Treasury. And the image used for social previews went through a redirect on every share, which some platforms handle badly. It now loads directly.