Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// @ts-check
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import sitemap from '@astrojs/sitemap';
import tailwindcss from '@tailwindcss/vite';

// Production is served directly at the apex https://magpie.apache.org/ (root path).
Expand Down Expand Up @@ -30,7 +31,9 @@ export default defineConfig({
site,
base,
redirects,
integrations: [react()],
// Markdown twins of docs pages (/docs/<page>.md) are alternates of the HTML
// page, not pages, so they stay out of the sitemap.
integrations: [react(), sitemap({ filter: (page) => !page.endsWith('.md') })],
vite: {
plugins: [tailwindcss()],
},
Expand Down
150 changes: 66 additions & 84 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading