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

Make Title Case Optional in Sidebar #4165

Open
will8807 opened this issue Feb 6, 2025 · 1 comment
Open

Make Title Case Optional in Sidebar #4165

will8807 opened this issue Feb 6, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@will8807
Copy link

will8807 commented Feb 6, 2025

I am building a website using the docs theme, and some of the page titles contain acronyms (i.e., all caps). When they are rendered in the sidebar, the acronyms are converted to title case. So a page with the title "ACME Corporation" would show up in the the sidebar as "Acme Corporation".

I would like an option to render page titles as-is, and not have them be converted to title case

@will8807 will8807 added the enhancement New feature or request label Feb 6, 2025
@dimaMachina
Copy link
Collaborator

you can override specific titles in _meta files or by frontMatter.title/sidebarTitle https://nextra.site/docs/docs-theme/built-ins/layout#customize-sidebar-with-front-matter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants