Skip to content

Commit

Permalink
Docs: Fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
fuma-nama committed Jan 15, 2025
1 parent 84a5a1d commit 989c117
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions apps/docs/content/docs/headless/custom-source.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ description: Build your own content source

> This guide assumes you are experienced with Next.js App Router.
### Examples

You can see examples to use Fumadocs with a CMS, which allows a nice experience on publishing content, and real-time update without re-building the app.

BaseHub: https://github.com/fuma-nama/fumadocs-basehub
Sanity: https://github.com/fuma-nama/fumadocs-sanity

For a custom content source implementation, you will need:

### Page Tree
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/mdx/performance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ This is because of:
Remote sources don't need to pre-compile MDX files, it can compile them on-demand with SSG which can **highly increase your build speed.**
However, you cannot use import in MDX files anymore.

See [Remote Sources](/docs/headless/remote) for configuring remote sources.
See [Custom Source](/docs/headless/custom-source) for configuring remote sources.
2 changes: 1 addition & 1 deletion apps/docs/content/docs/ui/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ You can explore the docs of your content source, it manages the validation and t

For Fumadocs MDX, a `source.config.ts` config file is included by default. See [Introduction](/docs/mdx).

For other formats and content sources that is not supported by default (e.g. Sanity), you can [build a custom content source](/docs/headless/remote).
For other formats and content sources that is not supported by default (e.g. Sanity), you can [build a custom content source](/docs/headless/custom-source).

## FAQ

Expand Down
2 changes: 1 addition & 1 deletion packages/mdx-remote/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import library from 'eslint-config-custom/library.js';

export default [
{
ignores: ['dist/', 'node_modules/', '*.test.ts', '*.output.json5'],
ignores: ['dist/', 'node_modules/', 'test/**/*'],
},
...library,
{
Expand Down

0 comments on commit 989c117

Please sign in to comment.