Skip to content

fix: point footer "Guides" link at the guides index - #211

Open
mcollina wants to merge 1 commit into
mainfrom
fix/footer-guides-404
Open

fix: point footer "Guides" link at the guides index#211
mcollina wants to merge 1 commit into
mainfrom
fix/footer-guides-404

Conversation

@mcollina

Copy link
Copy Markdown
Member

Fixes #210

Problem

The footer's Guides link pointed at docs/guides/movie-quotes-app-tutorial, a page that no longer exists in the upstream docs, so it 404'd in production.

It went unnoticed because onBrokenLinks is set to warn in docusaurus.config.js — a dead nav/footer target builds and deploys cleanly and only fails for real users.

Fix

Point it at docs/guides, the How-to Guides index that the navbar's "How-to Guides" item already links to.

Verification

npm run build succeeds, and the built footer now renders:

class="footer__link-item" href="/docs/getting-started/quick-start"
class="footer__link-item" href="/docs/guides"

build/docs/guides/index.html exists.

Also included

An AGENTS.md capturing the non-obvious bits of this repo — chiefly that docs/, versioned_docs/, versioned_sidebars/, sidebars.json and versions.json are committed but machine-generated from platformatic/platformatic release tags, so doc prose edits made here are silently discarded on the next deploy. Happy to split this out if you'd rather keep the PR to the one-line fix.

Out of scope

The archived 2.75.2 docs still contain in-page prose links to movie-quotes-app-tutorial. That content is generated from the upstream v2.75.2 tag and can't be corrected from this repo.

🤖 Generated with Claude Code

The footer linked to docs/guides/movie-quotes-app-tutorial, a page that no
longer exists upstream, so it 404'd in production. onBrokenLinks is set to
'warn', so the build never caught it.

Point it at docs/guides instead — the How-to Guides index that the navbar
already uses.

Also add AGENTS.md documenting that docs/ and versioned_docs/ are generated
from the upstream platformatic/platformatic repo and must not be edited here.

Fixes #210

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

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs.platformatic.dev Ready Ready Preview, Comment Jul 26, 2026 1:40pm

Request Review

@leorossi leorossi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

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.

The broken “Guides” link in the documentation returns a 404 error

2 participants