refactor: use starlight config to add md dirs, use starlight@0.37.6#28537
refactor: use starlight config to add md dirs, use starlight@0.37.6#28537colbywhite merged 3 commits intoproductionfrom
Conversation
Using `processedDirs` removes the need to use a brute-force patch to get extra dirs processed. This prop was not available in older version of Starlight.
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
|
Preview URL: https://6ad218fd.preview.developers.cloudflare.com |
| metaTags.push({ | ||
| property: "og:description", | ||
| content: frontmatter.description as string, | ||
| }); |
There was a problem hiding this comment.
Note: This is necessary since Starlight v0.36.3 doesn't add the og:description anymore. And we have a test that explictly asserts on both the description and og:description.
Starlight made the change to prevent content=undefined scenarios. But it inadvertently broke our heavyweight custom head building. I'm not sure the full context why we are doing so much management of the head so I'm just going to leave it for now and brute force the og:description in there.
kodster28
left a comment
There was a problem hiding this comment.
Spot checked some changes + sign off from @pedrosousa / @marciocloudflare
Using
processedDirsremoves the need to use a brute-force patch to get extra dirs processed. This prop was not available in older version of Starlight.Removing the brute-force patch makes future upgrades simplier.
Sample URLs to compare to determine if everything is working correctly. (Don't limit your testing to just these.)
/changelog/2026-02-15-workers-best-practices//workers/examples/read-post//workers/examples/turnstile-html-rewriter//images/tutorials/optimize-user-uploaded-image/