Skip to content

fix: show breadcrumbs on API pages#10843

Merged
mergify[bot] merged 1 commit intomainfrom
devs/jd/fix/api-breadcrumbs/I5ee4dbbdc76f3d7a19b93af48419ce3ba079418b
Apr 3, 2026
Merged

fix: show breadcrumbs on API pages#10843
mergify[bot] merged 1 commit intomainfrom
devs/jd/fix/api-breadcrumbs/I5ee4dbbdc76f3d7a19b93af48419ce3ba079418b

Conversation

@jd
Copy link
Copy Markdown
Member

@jd jd commented Apr 3, 2026

Breadcrumbs were hidden on API pages because they were gated behind
the showMarkdownActions flag. API pages set this to false since
they don't have markdown source files, but this also suppressed the
breadcrumb navigation.

Decouple breadcrumb rendering from the markdown actions so breadcrumbs
display on all non-homepage pages, while the toolbar buttons (Copy for
LLM, View Markdown) remain conditional.

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

Breadcrumbs were hidden on API pages because they were gated behind
the `showMarkdownActions` flag. API pages set this to `false` since
they don't have markdown source files, but this also suppressed the
breadcrumb navigation.

Decouple breadcrumb rendering from the markdown actions so breadcrumbs
display on all non-homepage pages, while the toolbar buttons (Copy for
LLM, View Markdown) remain conditional.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Change-Id: I5ee4dbbdc76f3d7a19b93af48419ce3ba079418b
Claude-Session-Id: e2b20a92-6d8f-49e1-a0a3-d33ac77e0b79
Copilot AI review requested due to automatic review settings April 3, 2026 12:30
@mergify mergify bot deployed to Mergify Merge Protections April 3, 2026 12:30 Active
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 3, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 🤖 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 👀 Review Requirements

Wonderful, this rule succeeded.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = mergify-ci-bot

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?:

🟢 🔎 Reviews

Wonderful, this rule succeeded.
  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

@jd jd marked this pull request as ready for review April 3, 2026 12:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes breadcrumb navigation being hidden on API reference pages by decoupling breadcrumb rendering from the showMarkdownActions flag in MainLayout, ensuring breadcrumbs appear on all non-home pages while keeping markdown-related toolbar actions conditional.

Changes:

  • Render the breadcrumbs heading bar on all non-homepage routes regardless of showMarkdownActions.
  • Keep CopyForLLMButton and ViewMarkdownButton gated behind showMarkdownActions so they remain hidden on pages without markdown sources.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mergify mergify bot requested a review from a team April 3, 2026 12:32
@mergify mergify bot requested a review from a team April 3, 2026 12:34
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 3, 2026

Merge Queue Status

This pull request spent 2 minutes 27 seconds in the queue, including 2 minutes 13 seconds running CI.

Required conditions to merge

mergify bot added a commit that referenced this pull request Apr 3, 2026
@mergify mergify bot added the queued label Apr 3, 2026
@mergify mergify bot merged commit a291aac into main Apr 3, 2026
13 checks passed
@mergify mergify bot deleted the devs/jd/fix/api-breadcrumbs/I5ee4dbbdc76f3d7a19b93af48419ce3ba079418b branch April 3, 2026 15:26
@mergify mergify bot removed the queued label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants