Skip to content

Commit

Permalink
revert: remove mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
42willow committed Jul 15, 2024
1 parent b60a324 commit 7cd1290
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 34 deletions.
Binary file modified bun.lockb
Binary file not shown.
59 changes: 28 additions & 31 deletions example/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,36 +1,33 @@
import { defineConfig } from "vitepress";
import { withMermaid } from "vitepress-plugin-mermaid";

// https://vitepress.dev/reference/site-config
export default withMermaid(
defineConfig({
title: "Catppuccin",
description: "A VitePress theme",
srcDir: "./src",
themeConfig: {
logo: {
src: "https://github.com/catppuccin/catppuccin/blob/main/assets/logos/exports/1544x1544_circle.png?raw=true",
alt: "Catppuccin logo",
},
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: "Home", link: "/" },
{ text: "Install", link: "/install" },
],
export default defineConfig({
title: "Catppuccin",
description: "A VitePress theme",
srcDir: "./src",
themeConfig: {
logo: {
src: "https://github.com/catppuccin/catppuccin/blob/main/assets/logos/exports/1544x1544_circle.png?raw=true",
alt: "Catppuccin logo",
},
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: "Home", link: "/" },
{ text: "Install", link: "/install" },
],

sidebar: [
// {
// text: "Examples",
// items: [
// { text: "Specifications", link: "/specs" },
// { text: "Style Guide", link: "/style-guide" },
// { text: "Port Creation", link: "/port-creation" },
// { text: "Translation table", link: "/translation-table" },
// ],
// },
],
sidebar: [
// {
// text: "Examples",
// items: [
// { text: "Specifications", link: "/specs" },
// { text: "Style Guide", link: "/style-guide" },
// { text: "Port Creation", link: "/port-creation" },
// { text: "Translation table", link: "/translation-table" },
// ],
// },
],

socialLinks: [{ icon: "github", link: "https://github.com/42willow/vitepress" }],
},
}),
);
socialLinks: [{ icon: "github", link: "https://github.com/42willow/vitepress" }],
},
})
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
},
"devDependencies": {
"@types/bun": "latest",
"mermaid": "^10.9.1",
"vitepress": "^1.2.3",
"vitepress-plugin-mermaid": "^2.0.16"
"vitepress": "^1.2.3"
},
"peerDependencies": {
"typescript": "^5.0.0"
Expand Down

0 comments on commit 7cd1290

Please sign in to comment.