From dbad9d5cdec991e361ebb09f92b498c153ee3169 Mon Sep 17 00:00:00 2001 From: Urs Hofmann Date: Mon, 22 Jul 2024 19:26:48 +0200 Subject: [PATCH] Cleaning up workflow, adding base to vitepress config --- .github/workflows/deploy-documentation.yml | 4 +--- docs/.vitepress/config.mts | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-documentation.yml b/.github/workflows/deploy-documentation.yml index 0a766e7..44c5ec6 100644 --- a/.github/workflows/deploy-documentation.yml +++ b/.github/workflows/deploy-documentation.yml @@ -32,8 +32,6 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 # Not needed if lastUpdated is not enabled - # - uses: pnpm/action-setup@v3 # Uncomment this if you're using pnpm - # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun - name: Setup Node uses: actions/setup-node@v4 with: @@ -44,7 +42,7 @@ jobs: - name: Install dependencies run: npm ci # or pnpm install / yarn install / bun install - name: Build with VitePress - run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build + run: npm run docs:build - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 40d4352..120e7ae 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -40,8 +40,8 @@ export default defineConfig({ }, markdown: { - math: true - }, - + math: true + }, } + base: '/opensaft/', })