The beautiful docs framework for Next.js. Alternative to Nextra
MIT License
Bot releases are visible (Hide)
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
catppuccin
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
neutral
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago
2d8df75: Replace nav.links
option with secondary links
why: A more straightforward API design
migrate:
<DocsLayout
+ links={[
+ {
+ type: 'secondary',
+ text: 'Github',
+ url: 'https://github.com',
+ icon: <GithubIcon />,
+ external: true,
+ },
+ ]}
- nav={{
- links: [
- {
- icon: <GithubIcon />,
- href: 'https://github.com',
- label: 'Github',
- external: true,
- },
- ],
- }}
>
{children}
</DocsLayout>
Published by fuma-nama 6 months ago
f75287d: Introduce fumadocs-docgen
package.
Offer a better authoring experience for advanced use cases.
remark-dynamic-content
and remark-install
plugins to the new package fumadocs-docgen
.Usage
Add the remarkDocGen
plugin to your remark plugins.
import { remarkDocGen, fileGenerator } from "fumadocs-docgen";
remark().use(remarkDocGen, { generators: [fileGenerator()] });
Generate docs with code blocks.
```json doc-gen:<generator>
{
// options
}
```
Migrate
For remarkDynamicContent
, enable fileGenerator
and use this syntax:
```json doc-gen:file
{
"file": "./path/to/my-file.txt"
}
```
For remarkInstall
, it remains the same:
import { remarkInstall } from "fumadocs-docgen";
Published by fuma-nama 6 months ago
Published by fuma-nama 6 months ago