Skip to content

Commit

Permalink
For 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
martrapp committed Aug 10, 2024
1 parent 46d98b6 commit 8a5238c
Show file tree
Hide file tree
Showing 21 changed files with 619 additions and 391 deletions.
132 changes: 62 additions & 70 deletions astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,75 +7,67 @@ import rehypeExternalLinks from "rehype-external-links";
import starlightImageZoom from 'starlight-image-zoom';
import { visualizer } from "rollup-plugin-visualizer";

import vtbot from "astro-vtbot";
import sidebar from "./sidebar";

// https://astro.build/config
export default defineConfig({
site: 'https://vtbag.pages.dev',
prefetch: false,
markdown: {
rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, {
behavior: "wrap"
}], [rehypeExternalLinks, {
target: "_blank",
content: {
type: "text",
value: "↗"
}
}]],
// remarkPlugins: [remarkHeadingID]
},
trailingSlash: 'always',
integrations: [starlight({
title: '@vtbag',
components: {
Head: "./src/components/Head.astro",
PageTitle: "./src/components/PageTitle.astro"
},
plugins: [starlightImageZoom()],
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 4
},
head: [{
tag: "meta",
attrs: {
property: "og:image",
content: "https://vtbag.pages.dev/social.png"
}
}],
customCss: ["./src/styles/custom.css"],
lastUpdated: true,
pagination: true,
favicon: "/bag3.png",
logo: {
src: "./src/assets/bag.png"
},
social: {
github: 'https://github.com/vtbag/website',
},
editLink: {
baseUrl: "https://github.com/vtbag/website/edit/main/"
},
sidebar: [
{
label: 'Overview',
link: '/overview/',
},
{
label: 'Inspection Chamber',
link: "/inspection-chamber/",
}
],
}),
],

vite: {
server: {
fs: {
allow: ['..']
}
},
plugins: [visualizer({
brotliSize: true
})]
}
});
site: 'https://vtbag.pages.dev',
prefetch: false,
markdown: {
rehypePlugins: [rehypeSlug, [rehypeAutolinkHeadings, {
behavior: "wrap"
}], [rehypeExternalLinks, {
target: "_blank",
content: {
type: "text",
value: "↗"
}
}]]
// remarkPlugins: [remarkHeadingID]
},
trailingSlash: 'always',
integrations: [starlight({
title: '@vtbag',
components: {
Head: "./src/components/Head.astro",
PageTitle: "./src/components/PageTitle.astro"
},
plugins: [starlightImageZoom()],
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 4
},
head: [{
tag: "meta",
attrs: {
property: "og:image",
content: "https://vtbag.pages.dev/social.png"
}
}],
customCss: ["./src/styles/custom.css"],
lastUpdated: true,
pagination: true,
favicon: "/bag3.png",
logo: {
src: "./src/assets/bag.png"
},
social: {
github: 'https://github.com/vtbag/website'
},
editLink: {
baseUrl: "https://github.com/vtbag/website/edit/main/"
},
sidebar,
}), vtbot()],
vite: {
server: {
fs: {
allow: ['..']
}
},
plugins: [visualizer({
brotliSize: true
})]
}
});
Loading

0 comments on commit 8a5238c

Please sign in to comment.