Skip to content

Commit

Permalink
fix: optimize the config
Browse files Browse the repository at this point in the history
  • Loading branch information
karlsbeard committed Dec 21, 2024
1 parent f67cab6 commit 6e71c69
Show file tree
Hide file tree
Showing 3 changed files with 2,296 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install dependencies
run: pnpm install # 或 pnpm install / yarn install / bun install
- name: Build with VitePress
run: pnpm build # 或 pnpm docs:build / yarn docs:build / bun run docs:build
run: pnpm build --base /fduer-manual/ # 或 pnpm docs:build / yarn docs:build / bun run docs:build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { defineConfig } from 'vitepress'
export default defineConfig({
title: "A Awesome Site",
srcDir: './src',
base: '/fduer-manual/',
// base: '/fduer-manual/',
description: "A site of manual for fduers",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
Expand Down
Loading

0 comments on commit 6e71c69

Please sign in to comment.