Skip to content

Conversation

@aabouzaid
Copy link

Hi 👋

Docusaurus and other docs CMSs are hierarchical by design (i.e., the same page title can appear under different sections).

However, the recommended Docusaurus v2 & v3 Template doesn't display the page path in the search dialog, which significantly affects the UX, as the user cannot determine the page's full path.

This change utilizes the built-in Docusaurus Sidebar Breadcrumbs (enabled by default) to show the path of the page. It is not just about the UI, but also enhances the search results as the full path is included in the Algolia index.

You can see the change in action on Camunda Docs.

Camunda-Docs-Search-Page-Breadcrumbs

@netlify
Copy link

netlify bot commented Oct 28, 2025

👷 Deploy request for docsearch pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 5311d2d

@aabouzaid aabouzaid force-pushed the docusaurus-search-path-breadcrumbs branch from 0c78033 to a0dfb51 Compare October 29, 2025 15:02
@dylantientcheu
Copy link
Contributor

Thanks for this PR @aabouzaid.
we had this on our backlog and its nice to see this addressed.

I'll find some time for a thorough review and I'll be back to you.

@netlify
Copy link

netlify bot commented Nov 20, 2025

Deploy Preview for docsearch-demo ready!

Name Link
🔨 Latest commit 5311d2d
🔍 Latest deploy log https://app.netlify.com/projects/docsearch-demo/deploys/691f96bbfe41cd000766ddfa
😎 Deploy Preview https://deploy-preview-2790--docsearch-demo.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

3 participants