Where is the code that renders the Next.js docs website?
Answered
Giant panda posted this in #help-forum
Giant pandaOP
I see the docs .mdx files, but I can't for the life of me find the code that actually renders that web app. Can somebody point me to it (if it's on GitHub)? https://github.com/vercel/next.js/tree/main/docs
Answered by joulev
It’s not open source. Use useSelectedLayoutSegments for the breadcrumbs
7 Replies
Giant pandaOP
Looks like it may not be open source 😦 was looking for how they implemented the breadcrumbs, to see if it was hardcoded in each page (like the dashboard tutorial does) or how else they might have implemented it dynamically
If you want to build some document website, I would recommend you to start from a template.
https://fumadocs.vercel.app/
TAL @Giant panda
https://fumadocs.vercel.app/
TAL @Giant panda
Its just plain Markdown with jsx
@Giant panda Looks like it may not be open source 😦 was looking for how they implemented the breadcrumbs, to see if it was hardcoded in each page (like the dashboard tutorial does) or how else they might have implemented it dynamically
It’s not open source. Use useSelectedLayoutSegments for the breadcrumbs
Answer
@joulev It’s not open source. Use useSelectedLayoutSegments for the breadcrumbs
Giant pandaOP
oh, amazing, that's exactly what i needed. thank you
@James4u If you want to build some document website, I would recommend you to start from a template.
https://fumadocs.vercel.app/
TAL <@121005069943439360>
Giant pandaOP
this is also awesome, thanks for sharing. they even have the cool little table of contents indicator like the Clerk docs