Skip to content

Forward arguments through check:links and fix:link-cache - #2857

Merged
chalin merged 4 commits into
docsy:mainfrom
chalin:chalin-m24-fix-link-cache-args-2026-1006
Oct 7, 2026
Merged

chalin merged 4 commits into
docsy:mainfrom
chalin:chalin-m24-fix-link-cache-args-2026-1006

Conversation

@chalin

@chalin chalin commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator
  • Scope:
    • link-checker argument forwarding through the root and docsy.dev wrappers (check:links, fix:link-cache), including both hops of the deprecated fix:refcache alias
    • changelog maintainers line and its link-cache entry
  • Out of scope:
    • other npm scripts and the maintainer notes (unchanged)
    • a release post or guide change (none planned)
  • Why: without a trailing --, the inner npm run consumes the flags as its own options, so npm run fix:link-cache -- --offline ran a live check
  • Prior art: the same -- as docsy.dev's check:links and docsy-example#504
  • Proof: npm run fix:link-cache -- --version printed npm's version before and lychee 0.24.2 after; same for the alias
  • Unchanged: an argument-less run still reports 0 errors and no cache drift
  • Preview(s):

The root check:links and fix:link-cache, and docsy.dev's fix:link-cache,
chained through npm run without a trailing --, so npm consumed any flag
passed after -- (npm run fix:link-cache -- --offline ran a live check).
Same fix as docsy-example#504.
@chalin
chalin requested a review from a team October 6, 2026 22:40
@chalin chalin added this to the 0.18.0 milestone Oct 6, 2026
@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for docsydocs ready!

Name Link
🔨 Latest commit eb882cf
🔍 Latest deploy log https://app.netlify.com/projects/docsydocs/deploys/6ac57f37eb47920008cd8502
😎 Deploy Preview https://deploy-preview-2857--docsydocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

chalin added 3 commits October 6, 2026 18:41
Both hops lacked the trailing --; the docsy.dev hop's && chain means the
root hop alone would not have forwarded. Round 1: r1.1.
@chalin
chalin merged commit 076dd47 into docsy:main Oct 7, 2026
14 checks passed
@chalin
chalin deleted the chalin-m24-fix-link-cache-args-2026-1006 branch October 7, 2026 09:45
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