Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ coverage
_docpress
.DS_Store

lib
dist
tsconfig.tsbuildinfo
test.lib/
Expand Down
19 changes: 19 additions & 0 deletions apps/docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
node_modules

.DS_Store
.cache
.vercel
.output
.nitro
/build/
/api/
/server/build
/public/build
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
.tanstack
.wrangler

.source
14 changes: 14 additions & 0 deletions apps/docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# docs

This is a Tanstack Start application generated with
[Create Fumadocs](https://github.com/fuma-nama/fumadocs).

Run development server:

```bash
npm run dev
# or
pnpm dev
# or
yarn dev
```
25 changes: 25 additions & 0 deletions apps/docs/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"root": false,
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"extends": ["@embedly/config/biome.json"],
"files": {
"includes": [
"**",
"!src/components/layout",
"!src/routeTree.gen.ts"
]
},
"linter": {
"rules": {
"suspicious": {
"noArrayIndexKey": "off"
},
"a11y": {
"noSvgWithoutTitle": "off"
},
"correctness": {
"useHookAtTopLevel": "off"
}
}
}
}
13 changes: 13 additions & 0 deletions apps/docs/cli.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "node_modules/@fumadocs/cli/dist/schema/src.json",
"aliases": {
"uiDir": "./components/ui",
"componentsDir": "./components",
"blockDir": "./components",
"cssDir": "./styles",
"libDir": "./lib"
},
"baseDir": "src",
"uiLibrary": "radix-ui",
"commands": {}
}
31 changes: 31 additions & 0 deletions apps/docs/content/docs/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: Hello World
description: Your favourite docs framework.
icon: Rocket
---

Hey there! Fumadocs is the docs framework that also works on Tanstack Start!

## Heading

Hello World!

<Cards>
<Card title="Learn more about Tanstack Start" href="https://tanstack.com/start" />
<Card title="Learn more about Fumadocs" href="https://fumadocs.dev" />
</Cards>

### CodeBlock

```ts
console.log('Hello World');
```

#### Table

| Head | Description |
| ------------------------------- | ----------------------------------- |
| `hello` | Hello World |
| very **important** | Hey |
| _Surprisingly_ | Fumadocs |
| very long text that looks weird | hello world hello world hello world |
12 changes: 12 additions & 0 deletions apps/docs/content/docs/test.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Test
description: This is another page
---

Hello World again!

## Installation

```npm
npm i fumadocs-core fumadocs-ui
```
54 changes: 54 additions & 0 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"name": "@embedly/docs",
"private": true,
"type": "module",
"sideEffects": false,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"start": "node .output/server/index.mjs",
"preview": "vite preview",
"types:check": "fumadocs-mdx && tsc --noEmit",
"postinstall": "fumadocs-mdx",
"lint": "biome check",
"format": "biome format --write",
"deploy": "wrangler deploy",
"wrangler": "wrangler"
},
"dependencies": {
"@embedly/config": "workspace:*",
"@iconify/react": "^6.0.2",
"@paper-design/shaders-react": "^0.0.71",
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-navigation-menu": "^1.2.14",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-presence": "^1.1.5",
"@tanstack/react-router": "1.166.7",
"@tanstack/react-router-devtools": "1.166.7",
"@tanstack/react-start": "1.166.8",
"class-variance-authority": "^0.7.1",
"fumadocs-core": "16.6.17",
"fumadocs-mdx": "14.2.10",
"fumadocs-ui": "16.6.17",
"lucide-react": "^0.577.0",
"next-themes": "^0.4.6",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"scroll-into-view-if-needed": "^3.1.0",
"tailwind-merge": "^3.5.0",
"vite": "^8.0.0",
"wrangler": "^4.59.1"
},
"devDependencies": {
"@biomejs/biome": "^2.4.6",
"@tailwindcss/vite": "^4.2.1",
"@types/mdx": "^2.0.13",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"nitro": "^3.0.260311-beta",
"tailwindcss": "^4.2.1",
"typescript": "^5.9.3"
}
}
12 changes: 12 additions & 0 deletions apps/docs/source.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { defineConfig, defineDocs } from "fumadocs-mdx/config";

export const docs = defineDocs({
dir: "content/docs",
docs: {
postprocess: {
includeProcessedMarkdown: true
}
}
});

export default defineConfig();
Binary file added apps/docs/src/assets/share-globe.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions apps/docs/src/components/Logo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
"use client";

import { Icon } from "@iconify/react";
import type { ComponentProps } from "react";

export function Logo(props: ComponentProps<"a">) {
return (
<a {...props}>
<Icon
icon="tabler:world-share"
className="size-5 text-indigo-400"
/>
Embedly
</a>
);
}
Loading
Loading