How to change the documentation provider to Fumadocs.
lib/source.ts
is where you organize code for content sources.pnpm dev
.
If some styles are missing, it could be due to your monorepo setup, you can change the content
property in your Tailwind CSS config (tailwind.config.mjs
) to ensure it works:
tailwind-config
package.
.mdx
files from your Mintlify app to content/docs
directory.
title
frontmatter property.title="Title"
.
Tabs
component:
Callout
component for callouts, as opposed to Mintlify’s specific ones.
mint.json
Filemeta.json
as the configurations of a folder.
You don’t need to hardcode the sidebar config manually.
For example, to customise the order of pages in content/docs/components
folder, you can create a meta.json
folder in the directory:
...
) if you want to include the other pages.
preset
option.
app/layout.config.tsx
, it contains the shared options for layouts.
Fumadocs offer a default Docs Layout for documentation pages, and Home Layout for other pages.
You can customise the layouts in layout.tsx
.
app/api/search/route.ts
contains the Route Handler for search, it is powered by Orama by default.