Skip to content

Commit 4653917

Browse files
committed
feat: update documentation structure and add favicon support
1 parent fc9da95 commit 4653917

15 files changed

Lines changed: 83 additions & 40 deletions

apps/docs/content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Welcome
2+
title: Introduction
33
description: Get started with Tooscut, the GPU-accelerated NLE video editor for the web.
44
---
55

apps/docs/content/docs/meta.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
{
22
"title": "Docs",
33
"pages": [
4-
"index",
54
"getting-started",
6-
"---Basics---",
75
"basics",
8-
"---Media---",
96
"media",
10-
"---Animation---",
117
"animation",
12-
"---Effects---",
138
"effects",
14-
"---Color Grading---",
159
"color-grading",
16-
"---Advanced---",
1710
"advanced"
1811
]
1912
}
14.7 KB
Loading
68.3 KB
Loading
13.1 KB
Loading

apps/docs/public/favicon-16x16.png

446 Bytes
Loading

apps/docs/public/favicon-32x32.png

1 KB
Loading

apps/docs/public/favicon.ico

15 KB
Binary file not shown.

apps/docs/public/site.webmanifest

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "",
3+
"short_name": "",
4+
"icons": [
5+
{ "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },
6+
{ "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }
7+
],
8+
"theme_color": "#ffffff",
9+
"background_color": "#ffffff",
10+
"display": "standalone"
11+
}

apps/docs/source.generated.ts

Lines changed: 35 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,41 @@
11
/// <reference types="vite/client" />
2-
import { fromConfig } from 'fumadocs-mdx/runtime/vite';
3-
import type * as Config from './source.config';
2+
import { fromConfig } from "fumadocs-mdx/runtime/vite";
3+
4+
import type * as Config from "./source.config";
45

56
export const create = fromConfig<typeof Config>();
67

7-
export const blog = create.doc("blog", "./content/blog", import.meta.glob(["./**/*.{mdx,md}"], {
8-
"base": "./content/blog",
9-
"query": {
10-
"collection": "blog"
11-
}
12-
}));
8+
export const blog = create.doc(
9+
"blog",
10+
"./content/blog",
11+
import.meta.glob(["./**/*.{mdx,md}"], {
12+
base: "./content/blog",
13+
query: {
14+
collection: "blog",
15+
},
16+
}),
17+
);
1318

1419
export const docs = {
15-
doc: create.doc("docs", "./content/docs", import.meta.glob(["./**/*.{mdx,md}"], {
16-
"base": "./content/docs",
17-
"query": {
18-
"collection": "docs"
19-
}
20-
})),
21-
meta: create.meta("docs", "./content/docs", import.meta.glob(["./**/*.{json,yaml}"], {
22-
"import": "default",
23-
"base": "./content/docs",
24-
"query": {
25-
"collection": "docs"
26-
}
27-
}))
28-
};
20+
doc: create.doc(
21+
"docs",
22+
"./content/docs",
23+
import.meta.glob(["./**/*.{mdx,md}"], {
24+
base: "./content/docs",
25+
query: {
26+
collection: "docs",
27+
},
28+
}),
29+
),
30+
meta: create.meta(
31+
"docs",
32+
"./content/docs",
33+
import.meta.glob(["./**/*.{json,yaml}"], {
34+
import: "default",
35+
base: "./content/docs",
36+
query: {
37+
collection: "docs",
38+
},
39+
}),
40+
),
41+
};

0 commit comments

Comments
 (0)