aboutsummaryrefslogtreecommitdiffstats
path: root/astro.config.mjs
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-04-05 12:46:30 +0000
committersaturneric <[email protected]>2024-04-05 12:46:30 +0000
commit69c4fc3fa98502e962477a21b7719b3b87bfcf84 (patch)
tree7d97a682c16f2e0e4e10bd1ba5c12a17ef07a1b1 /astro.config.mjs
downloadManual-69c4fc3fa98502e962477a21b7719b3b87bfcf84.tar.gz
Manual-69c4fc3fa98502e962477a21b7719b3b87bfcf84.zip
feat: initial commit
Diffstat (limited to 'astro.config.mjs')
-rw-r--r--astro.config.mjs58
1 files changed, 58 insertions, 0 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
new file mode 100644
index 0000000..8abc1ab
--- /dev/null
+++ b/astro.config.mjs
@@ -0,0 +1,58 @@
+import { defineConfig } from "astro/config";
+import starlight from "@astrojs/starlight";
+import netlify from "@astrojs/netlify";
+
+// https://astro.build/config
+export default defineConfig({
+ integrations: [
+ starlight({
+ title: "GpgFrontend",
+ description: "A Free, Easy-to-Use, Cross-Platform OpenPGP Crypto Tool.",
+ logo: {
+ src: "./src/assets/logo.svg",
+ },
+ favicon: "/images/favicon.ico",
+ social: {
+ github: "https://github.com/saturneric/GpgFrontend",
+ },
+ editLink: {
+ baseUrl: "https://github.com/saturneric/GpgFrontend-Manual/edit/main/",
+ },
+ sidebar: [
+ {
+ label: "Overview",
+ // Autogenerate a group of links for the 'guides' directory.
+ autogenerate: {
+ directory: "overview",
+ },
+ },
+ {
+ label: "Brief Guides",
+ autogenerate: {
+ directory: "guides",
+ },
+ },
+ {
+ label: "Advanced Features",
+ autogenerate: {
+ directory: "advanced",
+ },
+ },
+ {
+ label: "Appendix",
+ autogenerate: {
+ directory: "appendix",
+ },
+ },
+ {
+ label: "Reference",
+ autogenerate: {
+ directory: "reference",
+ },
+ },
+ ],
+ }),
+ ],
+ output: "server",
+ adapter: netlify(),
+});