1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-08 22:31:06 +00:00
starship/docs/.vuepress/config.js

71 lines
1.9 KiB
JavaScript
Raw Normal View History

module.exports = {
locales: {
"/": {
lang: "en-US",
title: "Starship",
description: "The cross-shell prompt for astronauts"
},
"/ja/": {
lang: "ja-JP",
title: "Starship",
description: "The cross-shell prompt for astronauts"
}
},
head: [["link", { rel: "icon", href: "/icon.png" }]],
themeConfig: {
logo: "/icon.png",
// the GitHub repo path
repo: "starship/starship",
// the label linking to the repo
repoLabel: "GitHub",
// if your docs are not at the root of the repo:
docsDir: "docs",
// defaults to false, set to true to enable
editLinks: true,
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"]
],
},
"/ja/": {
// 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: "/config/" }],
// Custom sidebar values
sidebar: [
"/",
["/guide/", "ガイド"],
["/config/", "設定"],
["/advanced-config/", "高度な設定"]
],
},
}
2019-08-20 15:13:10 +00:00
},
plugins: [
[
"@vuepress/google-analytics",
2019-08-20 15:13:10 +00:00
{
ga: "UA-71160903-4"
2019-08-20 15:13:10 +00:00
}
]
]
};