Skip to content

Commit

Permalink
set base path
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <[email protected]>
  • Loading branch information
fjogeleit committed Sep 16, 2024
1 parent 0637236 commit b95da3e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: bun install

- name: Generate
run: bun run docs:build
run: bun run docs:build-gh

- name: Setup Pages
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
Expand Down
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { defineConfig } from 'vitepress'
export default defineConfig({
title: "Policy Reporter",
description: "Documentation for Policy Reporter",
base: process.env.BASE ?? '/',
themeConfig: {
logo: '/assets/logo.png',
// https://vitepress.dev/reference/default-theme-config
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
"scripts": {
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:build-gh": "BASE=/policy-reporter-docs/ vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"devDependencies": {
"@types/node": "^22.5.5",
"vitepress": "^1.0.1"
}
}

0 comments on commit b95da3e

Please sign in to comment.