Skip to content

Fail the flyctl nav check on nav entries with no page - #2650

Merged
kcmartin merged 1 commit into
mainfrom
flyctl-nav-check-removed
Nov 12, 2026
Merged

kcmartin merged 1 commit into
mainfrom
flyctl-nav-check-removed

Conversation

@kcmartin

Copy link
Copy Markdown
Contributor

Adds the reverse of the existing check: when the flyctl sync deletes the page of a removed command, its docs.json nav entry would stay behind as a broken sidebar link, and nothing failed. This is the gap left open in superfly/flyctl#5315.

The nav is read from current main when the PR doesn't change docs.json (bot PRs never do), so a re-run picks up a nav fix merged separately, same as the existing step.

@kcmartin
kcmartin requested a review from a team as a code owner November 12, 2026 23:23
@mintlify

mintlify Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

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

Project Status Preview Updated
fly-io 🟢 Ready View Preview Nov 12, 2026, 11:24 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@kcmartin
kcmartin merged commit 0785418 into main Nov 12, 2026
3 checks passed
@kcmartin
kcmartin deleted the flyctl-nav-check-removed branch November 12, 2026 23:26

This branch was successfully deployed

1 active deployment
staging — 399e0003 Deployed Nov 12, 2026 by mintlify[bot]
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