-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add documentation site #24
Conversation
- The latest fumadocs update adds a tailwind prefix, so it doesn't conflict with Shadcn/ui anymore. We can use a single `tailwind.config.ts` file now.
7425d10
to
3f1e49d
Compare
3f1e49d
to
fd4dc79
Compare
fd4dc79
to
21dcd6d
Compare
@@ -0,0 +1,4 @@ | |||
/** Auto-generated */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is generated at build time. It essentially creates a 'map', as per the file name, of all the docs pages so that they can be looped through by the loader and rendered.
@@ -0,0 +1,4 @@ | |||
/** Auto-generated */ | |||
declare const map: Record<string, unknown> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do all these files have to be in the root dir?
Am a big fan of a clean root dir.
@@ -0,0 +1,29 @@ | |||
import type { MDXComponents } from 'mdx/types' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are MDX
components. MDX is essentially markdown supercharged with JSX, allowing us to use React components in our docs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good on my end
If you want to be swept off your feet, navigate to
localhost:8000/docs
.This is my custom implementation of the Fumadocs framework. I haven't found any other implementation that contains the top navbar as implemented here. I've also fixed various bugs still lurking in the APIs.
Key features
Edit on GitHub
button for quick and easy doc fix PRsLast Updated
info in footer