diff options
| author | 2026-01-21 20:27:47 +0800 | |
|---|---|---|
| committer | 2026-01-21 20:27:47 +0800 | |
| commit | 9ebcd9e9a441c7edcd9d9d55ef65af2799a30a7f (patch) | |
| tree | 3b7426aa13e66dc29de1a2e06583f5cea9f87596 /packages/docs/content | |
| parent | 42b114140b9ddeb1060ac7e51311cc50f5641c2d (diff) | |
| parent | 85382b427244ebb13497124defacd63f39e2871b (diff) | |
| download | DropOut-9ebcd9e9a441c7edcd9d9d55ef65af2799a30a7f.tar.gz DropOut-9ebcd9e9a441c7edcd9d9d55ef65af2799a30a7f.zip | |
docs: add chinese readme and docs website (#76)
## Summary by Sourcery
Add a new documentation site package and a Chinese README to improve
project documentation and accessibility.
New Features:
- Introduce a dedicated @dropout/docs React Router application powered
by Fumadocs for hosting the project documentation.
Documentation:
- Add a Chinese README file providing an overview, installation, build
instructions, and contribution guidelines for Chinese-speaking users.
- Set up initial docs content, navigation, and metadata within the new
docs site, including example pages and search endpoint configuration.
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 |