From 82bbad122f857970bba2a66bdc90ba055f3fa35a Mon Sep 17 00:00:00 2001 From: Baek2back Date: Wed, 31 Jul 2024 16:09:02 +0900 Subject: [PATCH] ci(vitepress): specify base on vitepress config --- docs/.vitepress/config.mts | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 7a6d30a..eddf6c8 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -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" }, + ], + }, +});