Skip to content

Commit

Permalink
Fix up astro config for v3
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Jan 19, 2024
1 parent 02dfd27 commit 780d1bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -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));
Expand All @@ -11,6 +12,7 @@ const setForeground = (theme, scope, value) => {

export default defineConfig({
site: 'https://knip.dev',
base,
sitemap: false,
trailingSlash: 'never',
markdown: {
Expand Down

0 comments on commit 780d1bd

Please sign in to comment.