返回 DeepSeek-Reasonix
astro.config.mjs
根目录 / site / astro.config.mjs
1 import { defineConfig } from 'astro/config';
2 import sitemap from '@astrojs/sitemap';
3
4 // Served from the custom domain reasonix.io at the site root.
5 export default defineConfig({
6 site: 'https://reasonix.io',
7 // Documentation code samples intentionally use source newlines as content.
8 // Astro 7's JSX-style compression removes those newlines unless disabled.
9 compressHTML: false,
10 build: { assets: 'static' },
11 integrations: [sitemap({
12 filter: (page) => !/\/changelog\/(?:stable|preview)\/?$/.test(page) &&
13 !/\/changelog\/v\d+\.\d+\.\d+-/.test(page),
14 })],
15 });
16
16 lines Plain Text