-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
3 changed files
with
70 additions
and
54 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
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
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,58 +1,56 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import starlight from '@astrojs/starlight'; | ||
import { defineConfig } from "astro/config"; | ||
import starlight from "@astrojs/starlight"; | ||
import { defineConfig, passthroughImageService } from "astro/config"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
image: { | ||
service: passthroughImageService(), | ||
}, | ||
integrations: [ | ||
starlight({ | ||
title: 'Doggo', | ||
customCss: [ | ||
'./src/assets/custom.css', | ||
], | ||
social: { | ||
github: 'https://github.com/mr-karan/doggo', | ||
}, | ||
sidebar: [ | ||
{ | ||
label: 'Introduction', | ||
items: [ | ||
{ label: 'Installation', link: '/intro/installation' }, | ||
], | ||
}, | ||
{ | ||
label: 'Usage Guide', | ||
items: [ | ||
{ label: 'Examples', link: '/guide/examples' }, | ||
{ label: 'CLI Reference', link: '/guide/reference' }, | ||
], | ||
}, | ||
{ | ||
label: 'Resolvers', | ||
items: [ | ||
{ label: 'Classic (UDP and TCP)', link: '/resolvers/classic' }, | ||
{ label: 'System', link: '/resolvers/system' }, | ||
{ label: 'DNS over HTTPS (DoH)', link: '/resolvers/doh' }, | ||
{ label: 'DNS over TLS (DoT)', link: '/resolvers/dot' }, | ||
{ label: 'DNSCrypt', link: '/resolvers/dnscrypt' }, | ||
{ label: 'DNS over HTTPS (DoQ)', link: '/resolvers/quic' }, | ||
], | ||
}, | ||
{ | ||
label: 'Features', | ||
items: [ | ||
{ label: 'Output Formats', link: '/features/output' }, | ||
{ label: 'Multiple Resolvers', link: '/features/multiple' }, | ||
{ label: 'IPv4 and IPv6', link: '/features/ip' }, | ||
{ label: 'Reverse IP Lookups', link: '/features/reverse' }, | ||
{ label: 'Protocol Tweaks', link: '/features/tweaks' }, | ||
{ label: 'Shell Completions', link: '/features/shell' }, | ||
], | ||
}, | ||
], | ||
}), | ||
], | ||
base: "/docs", | ||
site: "https://doggo.karan.dev/docs", | ||
image: { | ||
service: passthroughImageService(), | ||
}, | ||
integrations: [ | ||
starlight({ | ||
title: "Doggo", | ||
customCss: ["./src/assets/custom.css"], | ||
social: { | ||
github: "https://github.com/mr-karan/doggo", | ||
}, | ||
sidebar: [ | ||
{ | ||
label: "Introduction", | ||
items: [{ label: "Installation", link: "/intro/installation" }], | ||
}, | ||
{ | ||
label: "Usage Guide", | ||
items: [ | ||
{ label: "Examples", link: "/guide/examples" }, | ||
{ label: "CLI Reference", link: "/guide/reference" }, | ||
], | ||
}, | ||
{ | ||
label: "Resolvers", | ||
items: [ | ||
{ label: "Classic (UDP and TCP)", link: "/resolvers/classic" }, | ||
{ label: "System", link: "/resolvers/system" }, | ||
{ label: "DNS over HTTPS (DoH)", link: "/resolvers/doh" }, | ||
{ label: "DNS over TLS (DoT)", link: "/resolvers/dot" }, | ||
{ label: "DNSCrypt", link: "/resolvers/dnscrypt" }, | ||
{ label: "DNS over HTTPS (DoQ)", link: "/resolvers/quic" }, | ||
], | ||
}, | ||
{ | ||
label: "Features", | ||
items: [ | ||
{ label: "Output Formats", link: "/features/output" }, | ||
{ label: "Multiple Resolvers", link: "/features/multiple" }, | ||
{ label: "IPv4 and IPv6", link: "/features/ip" }, | ||
{ label: "Reverse IP Lookups", link: "/features/reverse" }, | ||
{ label: "Protocol Tweaks", link: "/features/tweaks" }, | ||
{ label: "Shell Completions", link: "/features/shell" }, | ||
], | ||
}, | ||
], | ||
}), | ||
], | ||
}); |