Minor updates
This commit is contained in:
parent
00f9593c3e
commit
0892f424ad
5 changed files with 39 additions and 45 deletions
|
@ -1,47 +1,39 @@
|
||||||
import { defineConfig } from 'astro/config'
|
import { defineConfig } from 'astro/config';
|
||||||
import starlight from '@astrojs/starlight'
|
import starlight from '@astrojs/starlight';
|
||||||
// import node from '@astrojs/node'
|
// import node from '@astrojs/node'
|
||||||
import astroFontPicker from 'astro-font-picker'
|
import astroFontPicker from 'astro-font-picker';
|
||||||
import vue from '@astrojs/vue'
|
import vue from '@astrojs/vue';
|
||||||
import astroI18next from "astro-i18next"
|
import astroI18next from "astro-i18next";
|
||||||
import Compress from "astro-compress"
|
import Compress from "astro-compress";
|
||||||
|
|
||||||
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://fluxnodes.net',
|
site: 'https://fluxnodes.net',
|
||||||
trailingSlash: "ignore",
|
trailingSlash: "ignore",
|
||||||
// output: 'server',
|
// output: 'server',
|
||||||
// adapter: node({
|
// adapter: node({
|
||||||
// mode: 'standalone',
|
// mode: 'standalone',
|
||||||
// }),
|
// }),
|
||||||
integrations: [
|
integrations: [astroFontPicker(), astroI18next(), Compress(), vue(), starlight({
|
||||||
astroFontPicker(),
|
title: 'Flux Support',
|
||||||
astroI18next(),
|
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
|
||||||
Compress(),
|
lastUpdated: true, // Staff must set "lastUpdated" date in the article file
|
||||||
vue(),
|
titleDelimiter: " - ", // Flux Support " - " Article Title
|
||||||
starlight({
|
components: {
|
||||||
title: 'Flux Support',
|
Header: './src/components/global/Header.astro',
|
||||||
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
|
PageFrame: './src/components/PageFrame.astro',
|
||||||
lastUpdated: true, // Staff must set "lastUpdated" date in the article file
|
Pagination: './src/components/Pagination.astro'
|
||||||
titleDelimiter: " - ", // Flux Support " - " Article Title
|
},
|
||||||
components: {
|
customCss: ['./src/styles/Starlight.scss', './src/styles/Header.scss'],
|
||||||
Header: './src/components/global/Header.astro',
|
sidebar: [{
|
||||||
PageFrame: './src/components/PageFrame.astro',
|
label: 'Account',
|
||||||
Pagination: './src/components/starlight/Pagination.astro',
|
autogenerate: {
|
||||||
},
|
directory: 'support/account'
|
||||||
customCss: [
|
}
|
||||||
'./src/styles/Starlight.scss',
|
}]
|
||||||
'./src/styles/Header.scss',
|
})],
|
||||||
],
|
server: {
|
||||||
sidebar: [
|
port: 2000,
|
||||||
{
|
host: true
|
||||||
label: 'Account',
|
}
|
||||||
autogenerate: { directory: 'support/account' },
|
});
|
||||||
},
|
|
||||||
],
|
|
||||||
})
|
|
||||||
],
|
|
||||||
server: {
|
|
||||||
port: 2000,
|
|
||||||
host: true
|
|
||||||
}
|
|
||||||
})
|
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -23,7 +23,7 @@
|
||||||
"astro-font-picker": "^0.2.1",
|
"astro-font-picker": "^0.2.1",
|
||||||
"astro-i18next": "^1.0.0-beta.21",
|
"astro-i18next": "^1.0.0-beta.21",
|
||||||
"astro-useragent": "^4.0.1",
|
"astro-useragent": "^4.0.1",
|
||||||
"dayjs": "^1.11.10",
|
"cobe": "^0.6.3",
|
||||||
"sass": "^1.70.0",
|
"sass": "^1.70.0",
|
||||||
"shikiji-core": "^0.10.2"
|
"shikiji-core": "^0.10.2"
|
||||||
},
|
},
|
||||||
|
|
|
@ -13,6 +13,7 @@ import '@styles/Header.scss'
|
||||||
|
|
||||||
// Other Stuff
|
// Other Stuff
|
||||||
import i18next, { t } from "i18next"
|
import i18next, { t } from "i18next"
|
||||||
|
import { HeadHrefLangs } from "astro-i18next/components";
|
||||||
import { fade, ViewTransitions } from 'astro:transitions'
|
import { fade, ViewTransitions } from 'astro:transitions'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
|
"skipLibCheck": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@assets/*": ["src/assets/*"],
|
"@assets/*": ["src/assets/*"],
|
||||||
"@components/*": ["src/components/*"],
|
"@components/*": ["src/components/*"],
|
||||||
|
|
Reference in a new issue