59 lines
1.4 KiB
JavaScript
59 lines
1.4 KiB
JavaScript
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: "Extra",
|
|
autogenerate: {
|
|
directory: "extra",
|
|
},
|
|
},
|
|
],
|
|
}),
|
|
],
|
|
output: "server",
|
|
adapter: netlify(),
|
|
});
|