[PR #14458] docs: fix broken .mdx links in FAQ and API docs #14683

Open
opened 2026-04-13 01:00:40 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/14458
Author: @Anandesh-Sharma
Created: 2/26/2026
Status: 🔄 Open

Base: mainHead: docs-fix-broken-faq-link


📝 Commits (1)

  • f335656 docs: fix broken .mdx links in FAQ and API docs

📊 Changes

2 files changed (+7 additions, -7 deletions)

View changed files

📝 docs/api.md (+5 -5)
📝 docs/faq.mdx (+2 -2)

📄 Description

Summary

  • Remove .mdx file extensions from internal documentation links
  • The Mintlify docs framework resolves page routes without file extensions, so links like ./gpu.mdx result in 404 errors on the deployed site at docs.ollama.com

Changes

  • faq.mdx: ./troubleshooting.mdx./troubleshooting
  • faq.mdx: ./gpu.mdx./gpu
  • api.md: ./modelfile.mdx./modelfile (5 occurrences)

Test plan

  • Verified other working internal links (e.g., ./docker, ./faq) don't use .mdx extension
  • Confirmed Mintlify routes pages without file extensions per docs.json navigation config

Fixes #14243

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/14458 **Author:** [@Anandesh-Sharma](https://github.com/Anandesh-Sharma) **Created:** 2/26/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `docs-fix-broken-faq-link` --- ### 📝 Commits (1) - [`f335656`](https://github.com/ollama/ollama/commit/f335656480b3e8fdf91e643774aa5e6589850e6b) docs: fix broken .mdx links in FAQ and API docs ### 📊 Changes **2 files changed** (+7 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `docs/api.md` (+5 -5) 📝 `docs/faq.mdx` (+2 -2) </details> ### 📄 Description ## Summary - Remove `.mdx` file extensions from internal documentation links - The Mintlify docs framework resolves page routes without file extensions, so links like `./gpu.mdx` result in 404 errors on the deployed site at docs.ollama.com ## Changes - `faq.mdx`: `./troubleshooting.mdx` → `./troubleshooting` - `faq.mdx`: `./gpu.mdx` → `./gpu` - `api.md`: `./modelfile.mdx` → `./modelfile` (5 occurrences) ## Test plan - [x] Verified other working internal links (e.g., `./docker`, `./faq`) don't use `.mdx` extension - [x] Confirmed Mintlify routes pages without file extensions per `docs.json` navigation config Fixes #14243 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 01:00:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#14683