Korbs/Contour
Archived
Template
1
Fork 0
This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
Contour/astro.config.mjs

39 lines
1.3 KiB
JavaScript
Raw Normal View History

2024-02-02 08:37:24 -05:00
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
2024-01-30 11:04:16 -05:00
// import node from '@astrojs/node'
2024-02-02 08:37:24 -05:00
import astroFontPicker from 'astro-font-picker';
import vue from '@astrojs/vue';
import astroI18next from "astro-i18next";
import Compress from "astro-compress";
2024-01-30 11:04:16 -05:00
2024-02-02 08:37:24 -05:00
// https://astro.build/config
2024-01-30 11:04:16 -05:00
export default defineConfig({
2024-02-02 08:37:24 -05:00
site: 'https://fluxnodes.net',
trailingSlash: "ignore",
// output: 'server',
// adapter: node({
// mode: 'standalone',
// }),
integrations: [astroFontPicker(), astroI18next(), Compress(), vue(), starlight({
title: 'Flux Support',
tableOfContents: false, // If you need this in an article, add this: https://github.com/withastro/starlight/blob/main/docs/src/content/docs/reference/plugins.md?plain=1#L4-L5
lastUpdated: true, // Staff must set "lastUpdated" date in the article file
titleDelimiter: " - ", // Flux Support " - " Article Title
components: {
Header: './src/components/global/Header.astro',
PageFrame: './src/components/PageFrame.astro',
Pagination: './src/components/Pagination.astro'
},
customCss: ['./src/styles/Starlight.scss', './src/styles/Header.scss'],
sidebar: [{
label: 'Account',
autogenerate: {
directory: 'support/account'
}
}]
})],
server: {
port: 2000,
host: true
}
});