Skip to content

Commit

Permalink
ci(vitepress): specify base on vitepress config
Browse files Browse the repository at this point in the history
  • Loading branch information
Baek2back committed Jul 31, 2024
1 parent 4dde12b commit 82bbad1
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
import { defineConfig } from 'vitepress'
import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "My Awesome Project",
description: "A VitePress Site",
base: "/iter-x/",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }
{ text: "Home", link: "/" },
{ text: "Examples", link: "/markdown-examples" },
],

sidebar: [
{
text: 'Examples',
text: "Examples",
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },
{ text: 'Runtime API Examples', link: '/api-examples' }
]
}
{ text: "Markdown Examples", link: "/markdown-examples" },
{ text: "Runtime API Examples", link: "/api-examples" },
],
},
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
]
}
})
{ icon: "github", link: "https://github.com/vuejs/vitepress" },
],
},
});

0 comments on commit 82bbad1

Please sign in to comment.