Migrate to VitePress

This commit is contained in:
2022-05-27 23:00:55 -04:00
parent 247605c7ee
commit fb37c5b4cd
8 changed files with 662 additions and 355 deletions

31
docs/.vitepress/config.ts Normal file
View File

@@ -0,0 +1,31 @@
import { defineConfig } from "vitepress";
export default defineConfig({
title: "Eifueo",
description: "Rewritten notes!",
lang: "en-US",
lastUpdated: true,
themeConfig: {
nav: [{ text: "HL Chemistry 2", link: "/sch4uz.html" }],
sidebar: getSidebar(),
repo: "https://git.eggworld.tk/eggy/eifueo",
docsDir: "docs",
},
markdown: {
config: (md) => {
md.use(require("markdown-it-mathjax3"), {
loader: { load: ["[tex]/mhchem"] },
tex: { packages: { "[+]": ["mhchem"] } },
});
},
},
});
function getSidebar() {
return [
{
text: "Grade 12 IB",
children: [{ text: "HL Chemistry 3", link: "/g12/snc4mz" }],
},
];
}