docusaurus/packages
Chesars 3d28a9e798 fix(docs): prioritize category href over links in sidebar breadcrumb search
When a sidebar link in one category points to a generated-index page URL
from another category, the breadcrumb search would incorrectly return the
link's parent category instead of the category that owns the URL.

This fix uses a two-pass approach when searching for the current sidebar
category:
1. First pass: Look for categories that directly own the URL (category.href)
2. Second pass: If not found, fall back to finding via links (for doc pages)

This ensures generated-index pages display their correct category's items
even when another category has a link pointing to the same URL.

Closes #11612
2025-12-11 11:48:52 -03:00
..
create-docusaurus feat(core): New siteConfig `future.experimental_vcs` API + `future.experimental_faster.gitEagerVcs` flag (#11512) 2025-11-14 18:15:45 +01:00
docusaurus fix(core): webpack aliases shouldn't be created for test files and typedefs (#11604) 2025-12-05 19:15:41 +01:00
docusaurus-babel chore(deps): remove unused @babel/runtime-corejs3 dependency (#11586) 2025-12-04 15:09:29 +01:00
docusaurus-bundler fix(faster): fix server build SWC / browserslist node target (#11496) 2025-10-17 21:02:45 +02:00
docusaurus-cssnano-preset chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-faster fix(faster): fix server build SWC / browserslist node target (#11496) 2025-10-17 21:02:45 +02:00
docusaurus-logger chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-mdx-loader fix(mdx-loader): fix url.parse deprecation warning on Node 24+ (#11530) 2025-11-20 21:38:15 +01:00
docusaurus-module-type-aliases chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-client-redirects chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-content-blog fix(blog): Fix author paginated page url: `/blog/authors/<author>/page/2` (#11577) 2025-11-27 16:39:08 +01:00
docusaurus-plugin-content-docs fix(docs): prioritize category href over links in sidebar breadcrumb search 2025-12-11 11:48:52 -03:00
docusaurus-plugin-content-pages chore(docs, blog, pages): refactor/normalize plugin option id types for all content plugins (#11563) 2025-11-20 13:27:29 +01:00
docusaurus-plugin-css-cascade-layers chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-debug chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-google-analytics chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-google-gtag chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-google-tag-manager chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-ideal-image chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-pwa chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-rsdoctor chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-sitemap feat(core): New siteConfig `future.experimental_vcs` API + `future.experimental_faster.gitEagerVcs` flag (#11512) 2025-11-14 18:15:45 +01:00
docusaurus-plugin-svgr chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-plugin-vercel-analytics chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-preset-classic chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-remark-plugin-npm2yarn chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-theme-classic fix(a11y): add Space key support for navbar dropdowns (#11513) 2025-12-05 19:33:44 +01:00
docusaurus-theme-common chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-theme-live-codeblock chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-theme-mermaid fix(faster): fix server build SWC / browserslist node target (#11496) 2025-10-17 21:02:45 +02:00
docusaurus-theme-search-algolia feat(theme-search-algolia): allow overriding transformSearchClient (#11581) 2025-12-05 18:44:15 +01:00
docusaurus-theme-translations fix(translations): complete theme translations for Algolia pt-br (#11533) 2025-11-06 14:37:29 +01:00
docusaurus-tsconfig chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-types feat(core): support custom html elements in head tags (#11571) 2025-11-27 11:19:53 +01:00
docusaurus-utils feat(core): New siteConfig `future.experimental_vcs` API + `future.experimental_faster.gitEagerVcs` flag (#11512) 2025-11-14 18:15:45 +01:00
docusaurus-utils-common chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
docusaurus-utils-validation chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
eslint-plugin fix(eslint-plugin): specify exact type of `no-untranslated-text` rule options (#11587) 2025-12-05 19:26:58 +01:00
lqip-loader chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00
stylelint-copyright chore: release v3.9.2 (#11491) 2025-10-17 17:15:09 +02:00