Sad
This commit is contained in:
parent
7d95805110
commit
445c23e4cf
40 changed files with 1804 additions and 404 deletions
|
|
@ -2,16 +2,13 @@ import { defineConfig, UserConfig } from "vitepress";
|
|||
import { withSidebar } from "vitepress-sidebar";
|
||||
|
||||
const vitePressOptions: UserConfig = {
|
||||
title: "Retards Server",
|
||||
description: "New Beginning",
|
||||
title: "Retards",
|
||||
srcDir: "site",
|
||||
lastUpdated: true,
|
||||
themeConfig: {
|
||||
nav: [
|
||||
{ text: "Home", link: "/" },
|
||||
{ text: "Tutorials", link: "/tutorials/" },
|
||||
{ text: "Wiki", link: "/wiki/" },
|
||||
//{ text: "News", link: "/news/" },
|
||||
{ text: "Server", link: "/server/" },
|
||||
],
|
||||
|
||||
search: {
|
||||
|
|
@ -74,30 +71,8 @@ const vitePressOptions: UserConfig = {
|
|||
const vitePressSidebarOptions = [
|
||||
{
|
||||
documentRootPath: "site",
|
||||
scanStartPath: "news",
|
||||
resolvePath: "/news/",
|
||||
useTitleFromFrontmatter: true,
|
||||
useTitleFromFileHeading: true,
|
||||
collapsed: true,
|
||||
useFolderTitleFromIndexFile: true,
|
||||
useFolderLinkFromIndexFile: true,
|
||||
sortMenusByFrontmatterOrder: true,
|
||||
},
|
||||
{
|
||||
documentRootPath: "site",
|
||||
scanStartPath: "tutorials",
|
||||
resolvePath: "/tutorials/",
|
||||
useTitleFromFrontmatter: true,
|
||||
useTitleFromFileHeading: true,
|
||||
collapsed: true,
|
||||
useFolderTitleFromIndexFile: true,
|
||||
useFolderLinkFromIndexFile: true,
|
||||
sortMenusByFrontmatterOrder: true,
|
||||
},
|
||||
{
|
||||
documentRootPath: "site",
|
||||
scanStartPath: "wiki",
|
||||
resolvePath: "/wiki/",
|
||||
scanStartPath: "server",
|
||||
resolvePath: "/server/",
|
||||
useTitleFromFrontmatter: true,
|
||||
useTitleFromFileHeading: true,
|
||||
collapsed: true,
|
||||
|
|
@ -108,5 +83,5 @@ const vitePressSidebarOptions = [
|
|||
];
|
||||
|
||||
export default defineConfig(
|
||||
withSidebar(vitePressOptions, vitePressSidebarOptions)
|
||||
withSidebar(vitePressOptions, vitePressSidebarOptions),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue