docs: add vitepress docs
This commit is contained in:
@@ -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' },
|
||||
// ...
|
||||
],
|
||||
},
|
||||
],*/
|
||||
},
|
||||
});
|
||||
@@ -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);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import DefaultTheme from 'vitepress/theme';
|
||||
import './custom.css';
|
||||
|
||||
export default DefaultTheme;
|
||||
Reference in New Issue
Block a user