Skip to content

fix: use doc version context in breadcrumbs#3972

Merged
morningman merged 1 commit into
apache:masterfrom
morningman:doc-head
Jul 8, 2026
Merged

fix: use doc version context in breadcrumbs#3972
morningman merged 1 commit into
apache:masterfrom
morningman:doc-head

Conversation

@morningman

Copy link
Copy Markdown
Contributor

Summary

  • Use the current docs page version metadata for the docs breadcrumb version label.
  • Keep the version breadcrumb link resolved through the matching global docs version.
  • Add a small regression test to prevent falling back to pathname-based version inference.

Test Plan

  • node --test src/theme/DocBreadcrumbs/version-source.test.js
  • git diff --check -- src/theme/DocBreadcrumbs/index.tsx src/theme/DocBreadcrumbs/version-source.test.js

Notes

  • yarn typecheck currently fails on existing unrelated repository-wide TypeScript issues, including JSX namespace errors, legacy Jest spec globals, and generated search module typings.

@morningman morningman merged commit b1e7fc8 into apache:master Jul 8, 2026
3 checks passed
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