Documentation
Build your documentation site using Contentlayer and MDX.
Note to self. You can't import metadata from the client side. So if you use "use client" in your layout file then you have to remove it and then make sure the "use client" is placed in a file that you can import. Example to follow.
Create a sitemap with this npm - https://www.npmjs.com/package/next-sitemap?activeTab=readme
Taxonomy includes a documentation site built using Contentlayer and MDX.
Features
It comes with the following features out of the box:
- Write content using MDX.
- Transform and validate content using Contentlayer.
- MDX components such as
<Callout />
and<Card />
. - Support for table of contents.
- Custom navigation with prev and next pager.
- Beautiful code blocks using
rehype-pretty-code
. - Syntax highlighting using
shiki
. - Built-in search (in progress).
- Dark mode (in progress).
How is it built
Click on a section below to learn how the documentation site built.