Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide Breadcrumb navigation from particular pages not the entire website #1248

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

samiahmedsiddiqui
Copy link
Contributor

@samiahmedsiddiqui samiahmedsiddiqui commented Sep 29, 2022

@samiahmedsiddiqui
Copy link
Contributor Author

@chalin @LisaFC Please review.

@chalin
Copy link
Collaborator

chalin commented Sep 29, 2022

Hi. Breadcrumbs can be hidden using CSS. We don't need another config option, IMHO. I'll comment more soon (not before next week).

@samiahmedsiddiqui
Copy link
Contributor Author

@chalin Let's suppose I have 2,000 docs pages and I want to hide breadcrumb on 200 pages. How can I do that?

@chalin
Copy link
Collaborator

chalin commented Oct 7, 2022

@chalin Let's suppose I have 2,000 docs pages and I want to hide breadcrumb on 200 pages. How can I do that?

Hi @samiahmedsiddiqui. How would you do it within the scope of this PR? (I'm asking because it will better help me understand your use case, how you see it resolved, and whether there might be an alternative solution that is already available.)

@chalin chalin self-assigned this Oct 7, 2022
@samiahmedsiddiqui
Copy link
Contributor Author

@chalin I am doing this by defining another parameter in page. If you add breadcrumbDisable: true in the file then the breadcrumb will be disable for that particular page.

@samiahmedsiddiqui
Copy link
Contributor Author

@chalin Please review the PR.

@samiahmedsiddiqui samiahmedsiddiqui changed the title Hide Breadcrumb navigation on some docs pages Hide Breadcrumb navigation from particular pages not the entire website May 6, 2024
Copy link
Collaborator

@fekete-robert fekete-robert left a comment

Choose a reason for hiding this comment

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

LGTM, but if it gets approved we should also mention that in the user guide.

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.

How hide Breadcrumb navigation on some docs pages ?
3 participants