-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Expand file tree
/
Copy pathnetlify.toml
More file actions
38 lines (31 loc) · 710 Bytes
/
netlify.toml
File metadata and controls
38 lines (31 loc) · 710 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
[build.environment]
NODE_VERSION = "24"
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"
[build]
publish = "docs/.vitepress/dist"
command = "pnpm docs:build && pnpm docs:lunaria:build"
[[headers]]
for = "/assets/*"
[headers.values]
cache-control = '''
max-age=31536000,
immutable'''
[[headers]]
for = "/_translations/*"
[headers.values]
x-robots-tag = "noindex"
[[redirects]]
from = "https://vitepress.vuejs.org/*"
to = "https://vitepress.dev/:splat"
force = true
[[redirects]]
from = "/guide/"
to = "/guide/getting-started"
[[redirects]]
from = "/llms.md"
status = 301
to = "/llms.txt"
[[redirects]]
from = "/llms-full.md"
status = 301
to = "/llms-full.txt"