Add automatic JSON-LD schema generation for docs#2964
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
b023748 to
f25cd82
Compare
kennethkalmer
left a comment
There was a problem hiding this comment.
Nice one @GregHolmes, it does what it says on the tin. I ran several pages through the schema.org validator and they do check out. Do you need some additional checks/verification from @umair-ably as well on this?
|
Thanks @kennethkalmer , I had a call with @umair-ably and @FayeMcC77 yesterday. We're going to change it slightly as we're going to generate a bit more information on these schemas etc. I'll mark this PR as do not merge for the time being. Thank you for the review! |
Description
Implements automatic JSON-LD schema generation for all MDX documentation pages to improve SEO and enable rich search results. Schema types are automatically inferred from URL patterns with manual override support.
Example of /docs/chat/connect:
Features:
Automatic schema type detection based on URL patterns:
Generated schema includes: @context, @type, headline, description, url, publisher, and author
Manual override via frontmatter (jsonld_type, jsonld_date_, jsonld_author_, jsonld_custom_*)
Support for custom Schema.org fields using jsonld_custom_* prefix
Renders in as <script type="application/ld+json">
Files added:
Files modified:
Zero configuration required for most pages. Schema automatically generated from existing frontmatter (title, meta_description, meta_keywords).