Add new knowledgebase / docs #38
This commit is contained in:
35
apps/docs/.vitepress/config.mts
Normal file
35
apps/docs/.vitepress/config.mts
Normal file
@@ -0,0 +1,35 @@
|
||||
import { defineConfig } from "vitepress";
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
title: "VAR Knowledgebase",
|
||||
description: "How To's und mehr zu Virtual Air Rescue",
|
||||
srcDir: "src",
|
||||
themeConfig: {
|
||||
logo: "/var_logo.png",
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
{ text: "Startseite", link: "/" },
|
||||
{ text: "How-To's", link: "/markdown-examples" },
|
||||
{ text: "Knowledgebase", link: "/markdown-examples" },
|
||||
],
|
||||
|
||||
sidebar: [
|
||||
{
|
||||
text: "Examples",
|
||||
items: [
|
||||
{ text: "Markdown Examples", link: "/markdown-examples" },
|
||||
{ text: "Runtime API Examples", link: "/api-examples" },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
socialLinks: [{ icon: "github", link: "https://github.com/vuejs/vitepress" }],
|
||||
},
|
||||
markdown: {
|
||||
theme: {
|
||||
light: "catppuccin-latte",
|
||||
dark: "catppuccin-mocha",
|
||||
},
|
||||
},
|
||||
});
|
||||
3
apps/docs/.vitepress/theme/custom.css
Normal file
3
apps/docs/.vitepress/theme/custom.css
Normal file
@@ -0,0 +1,3 @@
|
||||
.VPHero .image-src {
|
||||
max-width: 50%;
|
||||
}
|
||||
5
apps/docs/.vitepress/theme/index.ts
Normal file
5
apps/docs/.vitepress/theme/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import DefaultTheme from "vitepress/theme";
|
||||
import "@catppuccin/vitepress/theme/mocha/lavender.css";
|
||||
import "./custom.css";
|
||||
|
||||
export default DefaultTheme;
|
||||
Reference in New Issue
Block a user