Space/.vuepress/config.ts

63 lines
1.3 KiB
TypeScript

import { defaultTheme, defineUserConfig } from "vuepress";
export default defineUserConfig({
lang: "cs-CZ",
title: "Space",
description: "",
head: [
["link", {rel: "icon", href: "/assets/favicon.png"}],
["meta", {name: "theme-color", content: "#d0204a"}],
["meta", {property: "og:site_name", content: "Space"}],
["meta", {property: "twitter:site_name", content: "Space"}],
["meta", {property: "og:image", content: "/assets/logo-space-bg.png?"}],
["meta", {property: "twitter:image", content: "/assets/logo-space-bg.png?"}]
],
theme: defaultTheme({
logo: "/assets/favicon.png",
navbar: [
{text: "Úvod", link: "/"},
{text: "Software", link: "/software"},
{text: "Linux", link: "/linux"},
{text: "API", link: "/api"},
],
sidebar: {
"/api": [
{
text: "API",
link: "/api",
children: [
{text: "Email", link: "/api/email"},
{text: "QR", link: "/api/qr"},
]
}
],
"/software": [
{
text: "Software",
link: "/software",
children: [
"/software/desktop",
"/software/os"
]
},
{
text: "Výběr",
children: [
"/software/firefox"
]
}
],
"/linux": [
{
text: "Linux",
link: "/linux",
children: [
"/linux/prostredi",
"/linux/kompatibilita",
"/linux/hry"
]
}
]
}
})
});