Skip to content

docs: fix mangled models link in video-generation guide#64

Open
DeweyMarco wants to merge 1 commit into
mainfrom
fix/video-generation-mangled-models-link
Open

docs: fix mangled models link in video-generation guide#64
DeweyMarco wants to merge 1 commit into
mainfrom
fix/video-generation-mangled-models-link

Conversation

@DeweyMarco

Copy link
Copy Markdown
Collaborator

What

The video-generation guide's "model list by video output" link pointed at a docs path instead of the website model catalog:

-[model list by video output](https://openrouter.ai/docs/guides/overview/models?output_modalities=video)
+[model list by video output](https://openrouter.ai/models?output_modalities=video)

Why

The Fern→Mintlify migration rewrote several website/API URLs into docs paths. It also mangled the curl blocks in this file and in tts.mdx/stt.mdx (some rewritten twice, e.g. /api/v1/docs/guides/overview/docs/guides/overview/models). Later sync PRs repaired all the curl blocks, but this one prose link slipped through — the fixups were curl-focused, and Mintlify's broken-link checker only validates internal relative links, so an external openrouter.ai/docs/... URL was never flagged.

Both URLs return HTTP 200, so nothing surfaced it as broken. The difference is where they land: the docs path resolves to the guide page and silently ignores ?output_modalities=video, while openrouter.ai/models?output_modalities=video is the interactive catalog that honors the filter. This restores the intended behavior and matches how image-generation.mdx writes the equivalent link.

Verification

  • mint broken-links — this file is not among the flagged files.
  • curl "https://openrouter.ai/api/v1/models?output_modalities=video"200, 16 models.
  • Confirmed the repo has zero remaining api/v1/docs/guides, doubled-prefix, or query-bearing docs URLs.

🤖 Generated with Claude Code

The Fern→Mintlify migration rewrote the "model list by video output"
link from the website catalog (openrouter.ai/models?output_modalities=video)
to a docs path (openrouter.ai/docs/guides/overview/models?...). The docs
page ignores the output_modalities filter, so the link no longer took
readers to the filtered video-model listing it promises.

Later sync PRs repaired the mangled curl blocks in this file (and in
tts/stt), but this prose link was missed because the fixups were
curl-focused and Mintlify's link checker only validates internal links.
Restores the website catalog URL, matching image-generation.mdx.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
openrouter-production 🟢 Ready View Preview Jul 14, 2026, 1:13 AM

@mintlify

mintlify Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
openrouter-production 🟡 Building Jul 14, 2026, 1:12 AM

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