Initialize vitepress

This commit is contained in:
taskylizard 2023-10-27 00:42:13 +05:30
parent 3cdf54cb89
commit cd7ee89bf9
No known key found for this signature in database
GPG key ID: 5CABA3D642DDC497
11 changed files with 1145 additions and 42 deletions

18
.vitepress/shared.mts Normal file
View file

@ -0,0 +1,18 @@
import { defineConfig } from "vitepress";
export const sharedConfig = defineConfig({
lang: "en-US",
lastUpdated: true,
cleanUrls: true,
appearance: "dark",
head: [
["meta", { name: "theme-color", content: "#7bc5e4" }],
["meta", { name: "og:type", content: "website" }],
["meta", { name: "og:locale", content: "en" }],
],
themeConfig: {
search: {
provider: "local",
},
},
});