mirror of https://github.com/vuejs/vitepress
chore: setup lunaria (#3444)
parent
78abf47b8b
commit
6eecfb338f
@ -0,0 +1,25 @@
|
||||
{
|
||||
"$schema": "./node_modules/@lunariajs/core/config.schema.json",
|
||||
"repository": {
|
||||
"name": "vuejs/vitepress",
|
||||
"rootDir": "docs"
|
||||
},
|
||||
"files": [
|
||||
{
|
||||
"location": "**/*.md",
|
||||
"pattern": "@lang/@path",
|
||||
"type": "universal"
|
||||
}
|
||||
],
|
||||
"defaultLocale": {
|
||||
"label": "English",
|
||||
"lang": "en"
|
||||
},
|
||||
"locales": [
|
||||
{
|
||||
"label": "简体中文",
|
||||
"lang": "zh"
|
||||
}
|
||||
],
|
||||
"outDir": ".vitepress/dist/_translations"
|
||||
}
|
@ -1,3 +1,6 @@
|
||||
/assets/*
|
||||
cache-control: max-age=31536000
|
||||
cache-control: immutable
|
||||
|
||||
/_translations/*
|
||||
x-robots-tag: noindex
|
||||
|
@ -1,6 +1,6 @@
|
||||
[build.environment]
|
||||
NODE_VERSION = "18"
|
||||
NODE_VERSION = "20"
|
||||
|
||||
[build]
|
||||
publish = "docs/.vitepress/dist"
|
||||
command = "pnpm docs:build"
|
||||
command = "pnpm docs:build && pnpm docs:lunaria:build"
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue