fix: docs sitemap fix - #525
Open
victormeirelests wants to merge 8 commits into
Open
victormeirelests wants to merge 8 commits into
victormeirelests wants to merge 8 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Checklist CompleteThank you for taking the time to properly review your PR! All checklist items are complete. |
Collaborator
|
Hey @victormeirelests can you please accept the CLA please? |
erinmikailstaples
requested changes
Sep 16, 2026
erinmikailstaples
left a comment
Collaborator
There was a problem hiding this comment.
Accept CLA, make sure this deploys properly.
The build was failing because starlight-llms-txt couldn't render React components like Card from @stainless-api/docs/mintlify-compat. The issue was that the astroContainer in starlight-llms-txt only had the MDX renderer, not the React renderer. The fix patches starlight-llms-txt to: 1. Import and register the React server-side renderer 2. Provide a stub starlightRoute in the rendering context so Starlight components can access the required context without throwing This allows pages with Card components to render successfully for LLM text extraction. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
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.
Describe your changes
Adding sitemap to docs website to fix
Docs sitemap: 0 of 729 have <lastmod> either — and docs are your stated H2 bet (make docs the source AI learns from), so freshness signals matter most there.Affected pages
No content pages affected by this PR. Open the preview to confirm the build deployed successfully.
Related Issues
If there is a related issue, please add it below (just put the number after the # below, and GitHub will automatically create a link):
Issue: #number
Checklist before requesting a review