Add new knowledgebase / docs #38

This commit is contained in:
nocnico
2025-06-11 00:43:18 +02:00
parent 18a4dfaf6e
commit afb1cfb21d
12 changed files with 1490 additions and 1 deletions

View 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",
},
},
});

View File

@@ -0,0 +1,3 @@
.VPHero .image-src {
max-width: 50%;
}

View File

@@ -0,0 +1,5 @@
import DefaultTheme from "vitepress/theme";
import "@catppuccin/vitepress/theme/mocha/lavender.css";
import "./custom.css";
export default DefaultTheme;