2019-07-19 20:18:52 +00:00
|
|
|
module.exports = {
|
2019-09-11 15:57:24 +00:00
|
|
|
locales: {
|
|
|
|
"/": {
|
|
|
|
lang: "en-US",
|
|
|
|
title: "Starship",
|
|
|
|
description: "The cross-shell prompt for astronauts"
|
|
|
|
},
|
2019-10-11 08:31:19 +00:00
|
|
|
"/ja-JP/": {
|
2019-09-11 15:57:24 +00:00
|
|
|
lang: "ja-JP",
|
|
|
|
title: "Starship",
|
|
|
|
description: "The cross-shell prompt for astronauts"
|
2019-10-21 14:42:08 +00:00
|
|
|
},
|
|
|
|
"/zh-TW/": {
|
|
|
|
lang: "zh-TW",
|
|
|
|
title: "Starship",
|
|
|
|
description: "The cross-shell prompt for astronauts"
|
2019-09-11 15:57:24 +00:00
|
|
|
}
|
|
|
|
},
|
2019-11-05 13:29:46 +00:00
|
|
|
head: [
|
|
|
|
["link", { rel: "icon", href: "/icon.png" }],
|
|
|
|
["meta", { property: "og:title", content: "Starship" }],
|
|
|
|
[
|
|
|
|
"meta",
|
|
|
|
{
|
|
|
|
property: "og:description",
|
|
|
|
content: "The cross-shell prompt for astronauts"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
["meta", { property: "og:type", content: "website" }],
|
|
|
|
["meta", { property: "og:url", content: "http://starship.rs/" }],
|
|
|
|
["meta", { property: "og:image", content: "http://starship.rs/logo.svg" }]
|
|
|
|
],
|
2019-07-19 20:18:52 +00:00
|
|
|
themeConfig: {
|
2019-09-11 15:57:24 +00:00
|
|
|
logo: "/icon.png",
|
2019-07-19 20:18:52 +00:00
|
|
|
// the GitHub repo path
|
2019-09-11 15:57:24 +00:00
|
|
|
repo: "starship/starship",
|
2019-07-19 20:18:52 +00:00
|
|
|
// the label linking to the repo
|
2019-09-11 15:57:24 +00:00
|
|
|
repoLabel: "GitHub",
|
2019-07-19 20:18:52 +00:00
|
|
|
// if your docs are not at the root of the repo:
|
2019-09-11 15:57:24 +00:00
|
|
|
docsDir: "docs",
|
2019-07-19 20:18:52 +00:00
|
|
|
// defaults to false, set to true to enable
|
|
|
|
editLinks: true,
|
2019-09-11 15:57:24 +00:00
|
|
|
locales: {
|
|
|
|
"/": {
|
|
|
|
// text for the language dropdown
|
|
|
|
selectText: "Languages",
|
|
|
|
// label for this locale in the language dropdown
|
|
|
|
label: "English",
|
|
|
|
// Custom text for edit link. Defaults to "Edit this page"
|
|
|
|
editLinkText: "Edit this page on GitHub",
|
|
|
|
// Custom navbar values
|
|
|
|
nav: [{ text: "Configuration", link: "/config/" }],
|
|
|
|
// Custom sidebar values
|
|
|
|
sidebar: [
|
|
|
|
"/",
|
|
|
|
["/guide/", "Guide"],
|
|
|
|
["/config/", "Configuration"],
|
|
|
|
["/advanced-config/", "Advanced Configuration"]
|
2019-10-21 14:42:08 +00:00
|
|
|
]
|
2019-09-11 15:57:24 +00:00
|
|
|
},
|
2019-10-11 08:31:19 +00:00
|
|
|
"/ja-JP/": {
|
2019-09-11 15:57:24 +00:00
|
|
|
// text for the language dropdown
|
|
|
|
selectText: "言語",
|
|
|
|
// label for this locale in the language dropdown
|
|
|
|
label: "日本語",
|
|
|
|
// Custom text for edit link. Defaults to "Edit this page"
|
|
|
|
editLinkText: "GitHub で編集する",
|
|
|
|
// Custom navbar values
|
2019-10-11 08:31:19 +00:00
|
|
|
nav: [{ text: "設定", link: "/ja-JP/config/" }],
|
2019-09-11 15:57:24 +00:00
|
|
|
// Custom sidebar values
|
|
|
|
sidebar: [
|
2019-10-11 08:31:19 +00:00
|
|
|
"/ja-JP/",
|
|
|
|
["/ja-JP/guide/", "ガイド"],
|
|
|
|
["/ja-JP/config/", "設定"],
|
|
|
|
["/ja-JP/advanced-config/", "高度な設定"]
|
2019-10-21 14:42:08 +00:00
|
|
|
]
|
2019-09-11 15:57:24 +00:00
|
|
|
},
|
2019-10-21 14:42:08 +00:00
|
|
|
"/zh-TW/": {
|
|
|
|
// text for the language dropdown
|
|
|
|
selectText: "語言",
|
|
|
|
// label for this locale in the language dropdown
|
|
|
|
label: "繁體中文",
|
|
|
|
// Custom text for edit link. Defaults to "Edit this page"
|
|
|
|
editLinkText: "在 GitHub 上修改此頁面",
|
|
|
|
// Custom navbar values
|
|
|
|
nav: [{ text: "設定", link: "/zh-TW/config/" }],
|
|
|
|
// Custom sidebar values
|
|
|
|
sidebar: [
|
|
|
|
"/zh-TW/",
|
|
|
|
["/zh-TW/guide/", "指引"],
|
|
|
|
["/zh-TW/config/", "設定"],
|
|
|
|
["/zh-TW/advanced-config/", "進階設定"]
|
|
|
|
]
|
|
|
|
}
|
2019-09-11 15:57:24 +00:00
|
|
|
}
|
2019-08-20 15:13:10 +00:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
[
|
2019-09-11 15:57:24 +00:00
|
|
|
"@vuepress/google-analytics",
|
2019-08-20 15:13:10 +00:00
|
|
|
{
|
2019-09-11 15:57:24 +00:00
|
|
|
ga: "UA-71160903-4"
|
2019-08-20 15:13:10 +00:00
|
|
|
}
|
2019-11-05 13:29:46 +00:00
|
|
|
],
|
|
|
|
[
|
|
|
|
"sitemap",
|
|
|
|
{
|
|
|
|
hostname: "https://starship.rs"
|
|
|
|
}
|
2019-08-20 15:13:10 +00:00
|
|
|
]
|
|
|
|
]
|
2019-09-11 15:57:24 +00:00
|
|
|
};
|