diff options
| author | 2026-01-21 11:03:03 +0800 | |
|---|---|---|
| committer | 2026-01-21 11:03:03 +0800 | |
| commit | c792c62c86e4d9f4de8402610bb63000cd79bc3a (patch) | |
| tree | c9efcc2e994d4242cd883317c4f8737d8a821600 /packages/docs/content | |
| parent | c281777d65c4207d2fc3805a52fbc6e1939f4909 (diff) | |
| download | DropOut-c792c62c86e4d9f4de8402610bb63000cd79bc3a.tar.gz DropOut-c792c62c86e4d9f4de8402610bb63000cd79bc3a.zip | |
feat(docs): add React Router docs with Fumadocs
Diffstat (limited to 'packages/docs/content')
| -rw-r--r-- | packages/docs/content/docs/index.mdx | 32 | ||||
| -rw-r--r-- | packages/docs/content/docs/meta.json | 3 | ||||
| -rw-r--r-- | packages/docs/content/docs/test.mdx | 24 |
3 files changed, 59 insertions, 0 deletions
diff --git a/packages/docs/content/docs/index.mdx b/packages/docs/content/docs/index.mdx new file mode 100644 index 0000000..6c2e629 --- /dev/null +++ b/packages/docs/content/docs/index.mdx @@ -0,0 +1,32 @@ +--- +title: Hello World +description: | + Your first `document` + You'll love it! +--- + +Hey there! Fumadocs is the docs framework that also works on React Router! + +## Heading + +Hello World + +<Cards> + <Card title="Learn more about React Router" href="https://reactrouter.com" /> + <Card title="Learn more about Fumadocs" href="https://fumadocs.dev" /> +</Cards> + +```ts +console.log('I love React!'); +``` + +### Heading + +#### Heading + +| Head | Description | +| ------------------------------- | ----------------------------------- | +| `hello` | Hello World | +| very **important** | Hey | +| _Surprisingly_ | Fumadocs | +| very long text that looks weird | hello world hello world hello world | diff --git a/packages/docs/content/docs/meta.json b/packages/docs/content/docs/meta.json new file mode 100644 index 0000000..bc00362 --- /dev/null +++ b/packages/docs/content/docs/meta.json @@ -0,0 +1,3 @@ +{ + "pages": ["index", "..."] +} diff --git a/packages/docs/content/docs/test.mdx b/packages/docs/content/docs/test.mdx new file mode 100644 index 0000000..cac4d26 --- /dev/null +++ b/packages/docs/content/docs/test.mdx @@ -0,0 +1,24 @@ +--- +title: Test +description: A document to test Fumadocs +--- + +Hey there! + +## Cards + +<Cards> + <Card title="Learn more about Next.js" href="https://nextjs.org/docs" /> + <Card title="Learn more about Fumadocs" href="https://fumadocs.dev" /> +</Cards> + +### CodeBlock + +```js +console.log('Hello World'); +``` + +#### List + +- Hello +- World |