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

use title package in nextra to determine sidebar title based on pagename #814

Merged
merged 3 commits into from Sep 6, 2022

Conversation

dimaMachina
Copy link
Collaborator

  1. bring back title package but use it not in nextra-theme-docs but in nextra directly

So follow sidebar links:
image

will be replaced with:

image

  1. replace all - and _ characters in pagename to make it looks even better!

image

@changeset-bot
Copy link

changeset-bot bot commented Sep 6, 2022

🦋 Changeset detected

Latest commit: 8d22189

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Sep 6, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nextra-theme-docs-dev ✅ Ready (Inspect) Visit Preview Sep 6, 2022 at 10:37AM (UTC)
nextra-v2 ✅ Ready (Inspect) Visit Preview Sep 6, 2022 at 10:37AM (UTC)
1 Ignored Deployment
Name Status Preview Updated
nextra ⬜️ Ignored (Inspect) Sep 6, 2022 at 10:37AM (UTC)

@shuding
Copy link
Owner

shuding commented Sep 7, 2022

replace all - and _ characters in pagename to make it looks even better

this is amazing!

tatukoivisto pushed a commit to tatukoivisto/nextra that referenced this pull request Aug 20, 2023
…ename (shuding#814)

* use `title` package in nextra to determine sidebar title based on pagename

* update snapshots

* fix types check
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.

None yet

2 participants