diff --git a/packages/docs/astro.config.mjs b/packages/docs/astro.config.mjs index e358e3396..364c71f87 100644 --- a/packages/docs/astro.config.mjs +++ b/packages/docs/astro.config.mjs @@ -1,8 +1,9 @@ import starlight from '@astrojs/starlight'; import { defineConfig } from 'astro/config'; import remarkDirective from 'remark-directive'; -import { transformDirectives } from './remark/transformDirectives.ts'; +import { base } from './config.js'; import { fixInternalLinks } from './remark/fixInternalLinks.ts'; +import { transformDirectives } from './remark/transformDirectives.ts'; const setForeground = (theme, scope, value) => { const settings = theme.settings.find(setting => setting.scope?.includes(scope)); @@ -11,6 +12,7 @@ const setForeground = (theme, scope, value) => { export default defineConfig({ site: 'https://knip.dev', + base, sitemap: false, trailingSlash: 'never', markdown: {