Skip to content

Commit

Permalink
fix: set base URL from package.json repository URL (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
pevisscher authored Jan 4, 2025
1 parent fe16cd7 commit faf749a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import starlightTypeDoc, { typeDocSidebarGroup } from 'starlight-typedoc'
// https://astro.build/config
export default defineConfig({
site: packageJson.homepage,
base: new URL(packageJson.repository.url).pathname,
outDir: '../.docs',
integrations: [
markdoc(),
Expand Down

0 comments on commit faf749a

Please # to comment.