-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
62 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,71 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import starlight from '@astrojs/starlight'; | ||
import { defineConfig } from "astro/config"; | ||
import starlight from "@astrojs/starlight"; | ||
import vue from "@astrojs/vue"; | ||
import tailwind from "@astrojs/tailwind"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: 'https://www.setup.md', | ||
trailingSlash: 'never', | ||
site: "https://www.setup.md", | ||
trailingSlash: "never", | ||
build: { | ||
format: 'file' | ||
format: "file", | ||
}, | ||
integrations: [starlight({ | ||
title: 'setup.md', | ||
editLink: { | ||
baseUrl: 'https://github.com/setupmd/docs/edit/v3' | ||
}, | ||
social: { | ||
discord: 'https://link.setup.md/discord', | ||
github: 'https://link.setup.md/repo', | ||
patreon: 'https://link.setup.md/patreon' | ||
}, | ||
sidebar: [{ | ||
label: 'Project Information', | ||
autogenerate: { | ||
directory: '/information/' | ||
integrations: [ | ||
starlight({ | ||
title: "setup.md", | ||
editLink: { | ||
baseUrl: "https://github.com/setupmd/docs/edit/v3", | ||
}, | ||
collapsed: false | ||
}, { | ||
label: 'Enhancements', | ||
autogenerate: { | ||
directory: '/enhancements/' | ||
social: { | ||
discord: "https://link.setup.md/discord", | ||
github: "https://link.setup.md/repo", | ||
}, | ||
collapsed: true | ||
}, { | ||
label: 'Hosting Tips', | ||
autogenerate: { | ||
directory: '/hosting/' | ||
}, | ||
collapsed: true | ||
}, { | ||
label: 'Server Tools', | ||
autogenerate: { | ||
directory: '/tools/' | ||
}, | ||
collapsed: true | ||
}, { | ||
label: 'Server Troubleshooting', | ||
autogenerate: { | ||
directory: '/troubleshooting/' | ||
}, | ||
collapsed: true | ||
}, { | ||
label: 'Guides', | ||
autogenerate: { | ||
directory: '/guides/' | ||
}, | ||
collapsed: true | ||
}] | ||
}), vue(), tailwind()], | ||
sidebar: [ | ||
{ | ||
label: "Project Information", | ||
autogenerate: { | ||
directory: "/information/", | ||
}, | ||
collapsed: false, | ||
}, | ||
{ | ||
label: "Enhancements", | ||
autogenerate: { | ||
directory: "/enhancements/", | ||
}, | ||
collapsed: true, | ||
}, | ||
{ | ||
label: "Hosting Tips", | ||
autogenerate: { | ||
directory: "/hosting/", | ||
}, | ||
collapsed: true, | ||
}, | ||
{ | ||
label: "Server Tools", | ||
autogenerate: { | ||
directory: "/tools/", | ||
}, | ||
collapsed: true, | ||
}, | ||
{ | ||
label: "Server Troubleshooting", | ||
autogenerate: { | ||
directory: "/troubleshooting/", | ||
}, | ||
collapsed: true, | ||
}, | ||
{ | ||
label: "Guides", | ||
autogenerate: { | ||
directory: "/guides/", | ||
}, | ||
collapsed: true, | ||
}, | ||
], | ||
}), | ||
vue(), | ||
tailwind(), | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters