-
Notifications
You must be signed in to change notification settings - Fork 446
add json-ld metadata #2876
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
add json-ld metadata #2876
Conversation
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👋 aelmanaa, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
khadni
previously approved these changes
Aug 6, 2025
khadni
approved these changes
Aug 7, 2025
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.
This pull request implements a comprehensive SEO metadata and structured data (JSON-LD) system for documentation pages, enhancing search engine discoverability and supporting advanced features like estimated reading time, difficulty, and publication dates. The changes introduce a new
StructuredData
component, extend content metadata schemas, and update documentation content to provide richer SEO information.SEO Structured Data Implementation
StructuredData.astro
component to render Schema.org-compliant JSON-LD structured data for all documentation pages, powered by a newgenerateStructuredData
utility. (src/components/StructuredData.astro
,src/components/HeadSEO.astro
, [1] [2] [3] [4]HeadSEO.astro
component to inject structured data and support both standard metadata and quickstart-specific frontmatter for SEO. (src/components/HeadSEO.astro
, [1] [2] [3]BaseLayout.astro
andQuickstartLayout.astro
to pass new metadata and quickstart frontmatter to the SEO component for consistent structured data injection. (src/layouts/BaseLayout.astro
,src/layouts/QuickstartLayout.astro
, [1] [2]Metadata Schema Enhancements
content.config.ts
to support new fields required for structured data:estimatedTime
,difficulty
,datePublished
,lastModified
,version
, etc., for both general docs and quickstarts. (src/content.config.ts
, [1] [2] [3]Documentation Content Enrichment
excerpt
,version
,datePublished
,lastModified
,difficulty
, andestimatedTime
, ensuring richer and more accurate structured data. (src/content/ccip/api-reference/evm/v1.6.0/*.mdx
,src/content/ccip/concepts/architecture/overview.mdx
,src/content/ccip/tutorials/evm/transfer-tokens-from-contract.mdx
,src/content/quickstarts/ccip-direct-staking.mdx
, [1] [2] [3] [4] [5] [6] [7]Documentation and Guidance
README.md
, providing technical writers with instructions for using the new system. (README.md
, README.mdR28)