refactor: decouple spec identifiers from dev-docs.alchemy.com URL#1103
Open
blakecduncan wants to merge 3 commits intomainfrom
Open
refactor: decouple spec identifiers from dev-docs.alchemy.com URL#1103blakecduncan wants to merge 3 commits intomainfrom
blakecduncan wants to merge 3 commits intomainfrom
Conversation
Rename specUrl → specId and remove DEV_DOCS_BASE constant across the content indexer. Spec identifiers are now relative paths (e.g. "chains/eth.json") instead of full URLs. This affects: apiSpecs.ts, upload-specs.ts, pathIndex types, content-cache, preview-specs uploader, visitor/processor files, and all associated tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Switch the GHA workflow from deprecated specUrls to specIds in the revalidation API request payload. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
🔗 Preview Mode
|
🔍 Link CheckStatus: ⏭️ Skipped (no content changes) SummaryNo summary found. No markdown content files changed in this PR. |
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.
Summary
DEV_DOCS_BASEconstant — spec identifiers are now relative paths (e.g.chains/eth.json) instead of full URLsspecUrl→specIdacross content indexer: apiSpecs.ts, upload-specs.ts, pathIndex types, content-cache, preview-specs uploader, visitor/processor filesgetSpecTypeFromUrl→getSpecTypeRelates to DX-2307. Companion PR in docs-site repo (same branch name).
Deploy notes
Test plan
pnpm tsc --noEmitpasses (pre-existing errors in unrelated files only)pnpm install🤖 Generated with Claude Code