Skip to content

docs: document --ignore option for fern docs link check - #7981

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1795626405-docs-link-check-ignore
Open

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1795626405-docs-link-check-ignore

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

fern docs link check now accepts a repeatable --ignore <pattern> option that leaves matching URLs out of the results. Links that intentionally don't return a 200 response, like OAuth callbacks, MCP endpoints, and API base URLs, no longer fail link-check runs in CI.

Implements docs for: feat(cli): add --ignore to fern docs link check (fern-api/fern#18896)

Summary

fern/products/cli-api-reference/pages/docs-commands.mdx, fern docs link check accordion:

  • Usage line now includes [--ignore <pattern>].
  • New ### ignore subsection, styled like ### url and ### output. It covers:
    • Matching: the pattern matches the full URL, * matches any characters including /, and every other character matches literally (from LinkIgnoreFilter.ts).
    • The flag can be passed more than once.
    • Ignored links are removed from broken and blocked results, so they don't show up in text, JSON, or CSV output and don't fail the run.
    • The summary shows an Ignored count in text output and an ignoredLinks field in JSON output.
    • An example with two --ignore flags.

Other pages checked, none changed:

  • general-commands.mdx, markdown-basics.mdx, and the 2026-05-14 changelog mention the command but only link to it, so nothing needs updating.
  • No agent instruction page (fern/products/home/pages/fern-instructions/) mentions fern docs link check.
  • The CLI changelog was not edited; it is auto-generated.

pre-commit (Vale) passes. fern check --warnings reports 0 errors, and all of its warnings were already present.

Link to Devin session: https://app.devin.ai/sessions/135b5621bfe54c8c99160f31b3f8eb80
Open in Devin Desktop: https://app.devin.ai/desktop/session/135b5621bfe54c8c99160f31b3f8eb80?variant=devin


🟢 Devin Review found nothing to fix · View findings

Devin Review

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@github-actions

Copy link
Copy Markdown
Contributor

🌿 Preview your docs: https://fern-preview-devin-1795626405-docs-link-check-ignore.docs.buildwithfern.com/learn

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.

0 participants