Skip to content

Commit 51bb06e

Browse files
committed
Add docs.json at repo root for Mintlify deployment
Mintlify expects docs.json at repository root when monorepo mode is disabled. Updated all page paths to reference docs/ subdirectory.
1 parent 422da0c commit 51bb06e

File tree

1 file changed

+111
-0
lines changed

1 file changed

+111
-0
lines changed

docs.json

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"$schema": "https://mintlify.com/docs.json",
3+
"theme": "mint",
4+
"name": "node-webcodecs",
5+
"colors": {
6+
"primary": "#00ffc8",
7+
"light": "#4dabf7",
8+
"dark": "#00ffc8"
9+
},
10+
"favicon": "/docs/favicon.svg",
11+
"navigation": {
12+
"groups": [
13+
{
14+
"group": "Getting Started",
15+
"pages": [
16+
"docs/introduction",
17+
"docs/getting-started/installation",
18+
"docs/getting-started/quick-start",
19+
"docs/getting-started/first-decode"
20+
]
21+
},
22+
{
23+
"group": "Migration Guides",
24+
"pages": [
25+
"docs/migration/from-ffmpeg-cli",
26+
"docs/migration/from-browser"
27+
]
28+
},
29+
{
30+
"group": "API Reference",
31+
"pages": [
32+
"docs/api-reference/index",
33+
"docs/api-reference/VideoEncoder",
34+
"docs/api-reference/VideoDecoder",
35+
"docs/api-reference/VideoFrame",
36+
"docs/api-reference/AudioEncoder",
37+
"docs/api-reference/AudioDecoder",
38+
"docs/api-reference/AudioData",
39+
"docs/api-reference/ImageDecoder",
40+
"docs/api-reference/EncodedVideoChunk",
41+
"docs/api-reference/EncodedAudioChunk",
42+
"docs/api-reference/VideoColorSpace",
43+
"docs/api-reference/types"
44+
]
45+
},
46+
{
47+
"group": "Guides",
48+
"pages": [
49+
"docs/guides/hardware-acceleration",
50+
"docs/guides/hdr-encoding",
51+
"docs/guides/alpha-channels",
52+
"docs/guides/worker-threads",
53+
"docs/guides/backpressure"
54+
]
55+
},
56+
{
57+
"group": "Cookbook",
58+
"pages": [
59+
"docs/cookbook/overview",
60+
"docs/cookbook/transcode",
61+
"docs/cookbook/watermark",
62+
"docs/cookbook/thumbnails",
63+
"docs/cookbook/webrtc-recording",
64+
"docs/cookbook/video-validation"
65+
]
66+
},
67+
{
68+
"group": "Examples",
69+
"pages": [
70+
"docs/examples/basic-encoding",
71+
"docs/examples/hdr-encoding",
72+
"docs/examples/alpha-video",
73+
"docs/examples/real-world"
74+
]
75+
},
76+
{
77+
"group": "Help",
78+
"pages": [
79+
"docs/troubleshooting/overview"
80+
]
81+
}
82+
]
83+
},
84+
"logo": {
85+
"light": "/docs/logo/light.svg",
86+
"dark": "/docs/logo/dark.svg"
87+
},
88+
"navbar": {
89+
"links": [
90+
{
91+
"label": "GitHub",
92+
"href": "https://github.com/caseymanos/node-webcodecs"
93+
},
94+
{
95+
"label": "npm",
96+
"href": "https://www.npmjs.com/package/node-webcodecs"
97+
}
98+
],
99+
"primary": {
100+
"type": "button",
101+
"label": "Install",
102+
"href": "https://www.npmjs.com/package/node-webcodecs"
103+
}
104+
},
105+
"footer": {
106+
"socials": {
107+
"github": "https://github.com/caseymanos/node-webcodecs",
108+
"twitter": "https://twitter.com/caseymanos"
109+
}
110+
}
111+
}

0 commit comments

Comments
 (0)