Initialize vitepress

This commit is contained in:
taskylizard
2023-10-27 00:42:13 +05:30
parent 3cdf54cb89
commit cd7ee89bf9
11 changed files with 1145 additions and 42 deletions

36
.vitepress/config.mts Normal file
View File

@@ -0,0 +1,36 @@
import { defineConfig } from "vitepress";
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "FMHY",
description: "site",
titleTemplate: ":title | FreeMediaHeckYeah",
lang: "en-US",
lastUpdated: true,
cleanUrls: true,
appearance: "dark",
srcExclude: ["README.md", "single-page"],
head: [
["meta", { name: "theme-color", content: "#7bc5e4" }],
["meta", { name: "og:type", content: "website" }],
["meta", { name: "og:locale", content: "en" }],
],
themeConfig: {
search: {
provider: "local",
},
// TODO: add navbar items
nav: [],
sidebar: [
{
text: "Examples",
items: [
{ text: "Markdown Examples", link: "/markdown-examples" },
{ text: "Runtime API Examples", link: "/api-examples" },
],
},
],
// TODO: add socials
socialLinks: [],
},
});