chore(site-docs): GEO answer blocks, FAQ JSON-LD, internal links - #391
Merged
Conversation
Add llms.txt answer blocks for session handoff, parallel agents, and multi-model ACP; emit FAQPage JSON-LD from session-handoff FAQ sections; and add on-brand internal links from landing and related docs. Model: cursor-grok-4.6 Co-authored-by: Zixuan Chen <zx@loro.dev>
Prerender cannot walk content/ from import.meta.url. Extract FAQ sections during generate, matching the blog reading-time artifact. Model: cursor-grok-4.6 Co-authored-by: Zixuan Chen <zx@loro.dev>
Model: cursor-grok-4.6 Co-authored-by: Zixuan Chen <zx@loro.dev>
cursor
Bot
force-pushed
the
cursor/seo-geo-llms-internal-links-3144
branch
from
September 4, 2026 12:33
dd04f7c to
a8b997e
Compare
zxch3n
marked this pull request as ready for review
September 4, 2026 12:43
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 changed
GEO / SEO follow-up rebased onto current
main(includes #383, #387, #389, #390, #393, #394). Does not recreate those pages; keeps this PR’s answer blocks, FAQ JSON-LD, and internal links.llms.txtanswer blocks (scripts/llms-answers.mjs+generate-llms.mjs)/docs/session-handoff/, plus Sessions and Team FeaturesFAQ JSON-LD on session-handoff (en/zh)
pageHead({ jsonLd })viafaqJsonLd()inlib/json-ld.tsscripts/generate-docs-faq.mjsextracts###Q&A from the page’s## FAQ/## 常见问题section (same generate pipeline as sitemap / reading time)mainis picked up automatically)Internal links
How to hand off a session)How one agent runs the others)session.mdx,agents.mdx,session-orchestration.mdx, and the docs index (en/zh)team.mdxalready linked session-handoff; left as-isSitemap / nav
meta.json(sidebar) and is emitted bygenerate-sitemap.mjsashttps://lody.ai/docs/session-handoff/and the zh twin. No nav/sitemap gap to fix.How to verify
pnpm --filter @lody/site-docs generate pnpm --filter @lody/site-docs test pnpm --filter @lody/site-docs typecheck pnpm --filter @lody/site-docs buildLocal verification after rebase onto
main:generate,test,typecheck, andbuildpass/docs/session-handoffand/zh/docs/session-handoffprerender; FAQPage JSON-LD still matches the page FAQ#394UI labels on handoff/team/parallel-agents/blog and#393Current workspace / New worktree fork text are preserved frommainllms.txtAnswers links resolve to live docs; this PR still does not add/docs/parallel-agents/or the blog: how to handoff a Claude Code session to a teammate (en/zh) #390 blog URL (scope)Residual risks / notes
#389(/docs/parallel-agents/) and#390(/blog/handoff-claude-code-session/) are now onmain. This rebase does not add those URLs tollms-answers.mjs; the parallel-agents answer still points at orchestration / worktrees / team / agents.## FAQ/## 常见问题+###convention. A heading rename would drop schema until the extractor is updated (covered by tests against the current pages).