Skip to content

Add a missing page, other cleanup#399

Merged
crandmck merged 2 commits into
mainfrom
new-pages
Jul 24, 2026
Merged

Add a missing page, other cleanup#399
crandmck merged 2 commits into
mainfrom
new-pages

Conversation

@crandmck

@crandmck crandmck commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator
  • Add a page that was missing from c2pa-rs
  • Add remark-strip-hidden-links.js, a remark plugin that walks the markdown AST and unwraps (removes the hyperlink, keeps the text) any links found inside a <div class="github-only"> or <div style={{display: 'none'}}> block, before they're ever turned into links. This eliminates broken link warnings for stuff that is only displayed in the GitHub web interface (not Docusaurus).

crandmck added 2 commits July 23, 2026 13:40
Docusaurus's broken-link checker collects links via the theme's <Link>
component during render, regardless of CSS visibility, so links inside
content hidden with class="github-only" or style={{display: 'none'}}
(meant only for GitHub's markdown viewer) were flagged as broken.

Add a remark plugin that unwraps links found inside those hidden divs
before they become <a>/<Link> elements, so they're never collected.
Handles both the current inline-style pattern and the github-only class
repos are migrating to.
@netlify

netlify Bot commented Jul 23, 2026

Copy link
Copy Markdown

Deploy Preview for cai-open-source ready!

Name Link
🔨 Latest commit 0e1ae54
🔍 Latest deploy log https://app.netlify.com/projects/cai-open-source/deploys/6a6280021bbd1b0008e98259
😎 Deploy Preview https://deploy-preview-399--cai-open-source.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@crandmck crandmck changed the title Add a missing page Add a missing page, other cleanup Jul 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

@github-actions
github-actions Bot temporarily deployed to pull request July 23, 2026 20:59 Inactive
@crandmck
crandmck merged commit 777ee31 into main Jul 24, 2026
7 checks passed
@crandmck
crandmck deleted the new-pages branch July 24, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant