mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-12-29 14:21:02 -07:00
2b9bec7710
Co-authored-by: kodaka <1562923+kodaka@users.noreply.github.com>
55 lines
1.2 KiB
TypeScript
55 lines
1.2 KiB
TypeScript
import { defineConfig } from "vitepress";
|
|
import * as navbars from "./navbars";
|
|
import * as sidebars from "./sidebars";
|
|
|
|
// https://vitepress.dev/reference/site-config
|
|
export default defineConfig({
|
|
title: "asdf",
|
|
description: "Manage multiple runtime versions with a single CLI tool",
|
|
lastUpdated: true,
|
|
locales: {
|
|
root: {
|
|
label: "English",
|
|
lang: "en-US",
|
|
themeConfig: {
|
|
nav: navbars.en,
|
|
sidebar: sidebars.en,
|
|
},
|
|
},
|
|
"ja-jp": {
|
|
label: "日本語",
|
|
lang: "ja-jp",
|
|
themeConfig: {
|
|
nav: navbars.ja_jp,
|
|
sidebar: sidebars.ja_jp,
|
|
},
|
|
},
|
|
"pt-br": {
|
|
label: "Brazilian Portuguese",
|
|
lang: "pr-br",
|
|
themeConfig: {
|
|
nav: navbars.pt_br,
|
|
sidebar: sidebars.pt_br,
|
|
},
|
|
},
|
|
"zh-hans": {
|
|
label: "简体中文",
|
|
lang: "zh-hans",
|
|
themeConfig: {
|
|
nav: navbars.zh_hans,
|
|
sidebar: sidebars.zh_hans,
|
|
},
|
|
},
|
|
},
|
|
themeConfig: {
|
|
// https://vitepress.dev/reference/default-theme-config
|
|
search: {
|
|
provider: "local",
|
|
},
|
|
socialLinks: [
|
|
{ icon: "github", link: "https://github.com/asdf-vm/asdf" },
|
|
// { icon: "twitter", link: "https://twitter.com/asdf_vm" },
|
|
],
|
|
},
|
|
});
|