-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Nextra 4 #2600
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
why drop support for |
because it requires a lot of engineering time, I already maintain this repo alone |
Thanks for an awesome job you're doing. I'd really really like to see some kind of primitive static data collections API in v14, like Astro's collections or json-server. |
when will the v4 be release |
Nextra v3 was finally released. And Nextra v4 prerelease just out! Currently without docs changes update or migration guide. Nextra v4 will support a file-based router for your mdx files, Nextra v4 will also support rendering your docs from a single catch-all route Feel free to take a look at docs and i18n docs examples that were migrated to it! https://github.com/shuding/nextra/tree/v4-v2/examples Prerelease v4 last versions: Feel free to share your feedback and create separated issues for problems you encountered Have fun! |
Yes, the search needs to index built .html files, you must to add Line 9 in c9d0ffc
Also, nextra-theme-blog in v4 has search as well Check out the last preview https://nextra-v2-6bnfo6seg-shud.vercel.app/ where you can see working search |
https://github.com/shuding/nextra/releases/tag/nextra%404.0.0-app-router.13 is just out with Turbopack support |
Fak yeah dude |
For everybody waiting for Nextra v4, I am finishing the Blogpost announcement for Nextra v4 RC.0 with all features and migration guide, so stay tuned 😁 |
Looking forward to it. I am currently using next 15 and searching the whole v4-v2 branch for any information. I will wait for you then |
Nextra v4 is looking 🔥 ! Can't wait for RC.0 and a blogpost @dimaMachina . Thanks for all the work! |
Waiting |
If one would like to start with Nextra v4, which branch should be used in that case? I don't care if it may break or not - just looking for next opportunities to create a docs site :) |
If God asked me who the best person in the world is, I would say B2o5T. |
First of all thanks for all the hard work you're putting into this project :) I would like to run new v4 version with app router support however it's failing for me with this error:
I have only /docs path specified for Nextra so I think /auth/action shouldn't be checked for anything? :) I also can't simply add metada into this page since it's a client component. |
@tomsvetna Put the client component in a separate file and import it, keeping the page a server component. Then add the metadata requirement. |
@dimaMachina are the v4 docs being hosted anywhere public already? |
You should be able to use the latest preview links in #2653 |
pages
router, supportapp
router instead Support for app router #2023theme.config
files in favour of passing theme options asprops
in Next.js'layout
file Different theme.config.jsx for different mdx pages #2887Banner/Navbar/Footer
etc.) Componentize the docs theme #332useData
hook in favour async server componentsbackgroundColor
accept rgb and hex values instead of11,45,33
format How to set actual color for dark/white mode? #2772 (comment)getStaticProps
#1611/
and/index
Both Accessible #3264primaryColor
for::selection
#3339↗
char for external links #3391Search Bar
Functionality inNextra Docs Theme
#3673The text was updated successfully, but these errors were encountered: