Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix API page #232

Closed
wants to merge 15 commits into from
24 changes: 14 additions & 10 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,25 @@ import sitemap from "@astrojs/sitemap";
import purgecss from "astro-purgecss";
import rehypeAutolinkHeadings from 'rehype-autolink-headings';
import { fromHtml } from 'hast-util-from-html';

import compress from "astro-compress";
import searchIndex from "./src/integration/search-index";

import playformCompress from "@playform/compress";

// https://astro.build/config
export default defineConfig({
site: "https://quiltmc.org",
integrations: [
mdx(),
astroI18next(),
sitemap(),
purgecss({ safelist: ["has-background-info", "has-background-link"] }),
compress({ SVG: false, }),
searchIndex()
],
mdx(),
astroI18next(),
sitemap(),
purgecss({
safelist: ["has-background-info", "has-background-link"]
}),
searchIndex(),
playformCompress({
SVG: false,
}),
],
markdown: {
syntaxHighlight: "prism",
rehypePlugins: [[rehypeAutolinkHeadings, {
Expand All @@ -32,4 +36,4 @@ export default defineConfig({
assetsInlineLimit: 0
}
}
});
});
Loading