docs: add vitepress docs

This commit is contained in:
2025-06-21 23:39:02 +03:00
parent a07ddb6a74
commit 3d5d80dc05
6 changed files with 163 additions and 1 deletions
+35
View File
@@ -0,0 +1,35 @@
import { defineConfig } from 'vitepress';
// refer https://vitepress.dev/reference/site-config for details
export default defineConfig({
lang: 'en-US',
title: 'YaBL wiki',
description: 'Next-gen digital library',
themeConfig: {
nav: [
{ text: 'Get started', link: '/get-started' },
// {
// text: 'Dropdown Menu',
// items: [
// { text: 'Item A', link: '/item-1' },
// { text: 'Item B', link: '/item-2' },
// { text: 'Item C', link: '/item-3' },
// ],
// },
// ...
],
/*sidebar: [
{
// text: 'Guide',
items: [
{ text: 'Example', link: '/example' },
// ...
],
},
],*/
},
});
+12
View File
@@ -0,0 +1,12 @@
:root {
--vp-c-brand-1: #fd7c1a;
--vp-c-brand-2: #ff913d;
--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
#ff712f 30%,
#ffb555
);
--vp-button-brand-bg: var(--vp-c-brand-1);
--vp-button-brand-hover-bg: var(--vp-c-brand-2);
}
+4
View File
@@ -0,0 +1,4 @@
import DefaultTheme from 'vitepress/theme';
import './custom.css';
export default DefaultTheme;