11// @ts -check
22import { defineConfig } from "astro/config" ;
33import starlight from "@astrojs/starlight" ;
4+ import starlightTypeDoc , { typeDocSidebarGroup } from "starlight-typedoc" ;
45
56// https://astro.build/config
67export default defineConfig ( {
78 integrations : [
89 starlight ( {
910 title : "Titanium Network" ,
1011 favicon : "/favicon.png" ,
11- social : {
12- github : "https://github.com/titaniumnetwork-dev/Oxide-Docs" ,
13- discord : "https://discord.gg/unblock" ,
14- } ,
12+ social : [
13+ {
14+ icon : "github" ,
15+ label : "GitHub" ,
16+ href : "https://github.com/titaniumnetwork-dev/Oxide-Docs" ,
17+ } ,
18+ {
19+ icon : "discord" ,
20+ label : "Discord" ,
21+ href : "https://discord.gg/unblock" ,
22+ } ,
23+ ] ,
24+ plugins : [
25+ starlightTypeDoc ( {
26+ entryPoints : [ "./typedoc-repos/scramjet/src/entry.ts" ] ,
27+ tsconfig : "./tsconfig-scramjet.json" ,
28+ sidebar : {
29+ label : "Scramjet API" ,
30+ } ,
31+ typeDoc : {
32+ skipErrorChecking : true ,
33+ excludeNotDocumented : false ,
34+ treatWarningsAsErrors : false ,
35+ } ,
36+ } )
37+ ] ,
1538 sidebar : [
1639 {
1740 label : "Guides" ,
@@ -23,7 +46,11 @@ export default defineConfig({
2346 } ,
2447 {
2548 label : "Proxies" ,
26- autogenerate : { directory : "proxies" } ,
49+ items : [
50+ "proxies/rammerhead" ,
51+ "proxies/ultraviolet" ,
52+ typeDocSidebarGroup ,
53+ ] ,
2754 } ,
2855 {
2956 label : "Technologies" ,
@@ -39,7 +66,6 @@ export default defineConfig({
3966 } ,
4067 ] ,
4168 customCss : [
42- // Relative path to your custom CSS file
4369 "./src/styles/custom.css" ,
4470 "@fontsource/raleway/400.css" ,
4571 "@fontsource/raleway/600.css" ,
0 commit comments