fix(contracts): fix MDX rendering for contract addresses composable pages#890
Closed
Copilot wants to merge 3 commits intodocs-v2-devfrom
Closed
fix(contracts): fix MDX rendering for contract addresses composable pages#890Copilot wants to merge 3 commits intodocs-v2-devfrom
Copilot wants to merge 3 commits intodocs-v2-devfrom
Conversation
2 tasks
…ages - Remove duplicate contractAddresses import from verify-contract-addresses.mdx (root cause: MDX scope collision causing page to not render) - Fix <Danger> block in composable — blank lines ensure markdown list items render correctly rather than as literal text after <br/> JSX elements - Add frontmatter to verify-contract-addresses.mdx (repo standard: optional but recommended) - Fix 'Twitter:card' -> 'twitter:card' in gateway page frontmatter (case sensitivity) Agent-Logs-Url: https://github.com/livepeer/docs/sessions/f01b5e9f-ce34-4264-a32b-dd943f3c36a9
Copilot
AI
changed the title
[WIP] Fix rendering issue on Contracts Addresses Page
fix(contracts): fix MDX rendering for contract addresses composable pages
May 4, 2026
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.
The contract addresses page failed to render across all three tabs (About, Gateway, Orchestrator) due to a duplicate
contractAddressesimport in a nested MDX composable chain. Mintlify merges parent/child composable scope — re-importing the same identifier in the child caused a scope collision that crashed the render pipeline.Root Cause
contractAddressesis only used as a prop value in the child (<ContractVerifier data={contractAddresses} />), so it resolves correctly from parent scope without re-import.Changes
verify-contract-addresses.mdx— removed duplicateimport { contractAddresses }(root cause); added missing frontmatter (repo standard)livepeer-contract-addresses.mdx— fixed<Danger>block: replaced<br/><br/>with blank lines so MDX re-enters markdown mode and list items render as<ul>rather than literal text; corrected stale mixed-case anchor#No-Trust-On-chain-Address-Verification→#no-trust-on-chain-address-verificationv2/gateways/.../contract-addresses.mdx— corrected'Twitter:card'→'twitter:card'in frontmatterScope
snippets/composables/pages/canonical/livepeer-contract-addresses.mdxsnippets/composables/pages/canonical/verify-contract-addresses.mdxv2/gateways/resources/reference/technical/contract-addresses.mdxValidation
Follow-up Tasks
None.
Type of Change
Related Issues
Changes Made
contractAddressesimport from nested MDX child composable<Danger>block markup — proper blank-line separation for markdown list rendering#no-trust-on-chain-address-verification)'Twitter:card'meta key casing in gateway page frontmatterverify-contract-addresses.mdxTesting
npm run devScreenshots (if applicable)
N/A
Checklist
Additional Notes
All three parent pages (
v2/about/...,v2/gateways/...,v2/orchestrators/...) import the same composable, so fixing the composable and its child resolves the rendering failure across all three tabs simultaneously.Governance Approval
Not required for this PR.
Copy Governance Gate - L5
Auto-checked by CI (lint-copy.js + lint-structure.js)
{/* REVIEW: */}flags in rendered contentpageType,audience,lastVerifiedpresent in frontmatterHuman review required
Sequence (L2)
Completeness (L3)
Tone (L4)
Brief compliance