11// @ts -check
2- import { defineConfig } from "astro/config" ;
3- import starlight from "@astrojs/starlight" ;
4- import starlightBlog from "starlight-blog" ;
5- import starlightImageZoom from "starlight-image-zoom" ;
62
7- import react from "@astrojs/react" ;
83import mdx from "@astrojs/mdx" ;
4+ import react from "@astrojs/react" ;
95import sitemap from "@astrojs/sitemap" ;
10-
6+ import starlight from "@astrojs/starlight" ;
117import tailwindcss from "@tailwindcss/vite" ;
8+ import { defineConfig } from "astro/config" ;
9+ import starlightBlog from "starlight-blog" ;
10+ import starlightImageZoom from "starlight-image-zoom" ;
1211
1312// https://astro.build/config
1413export default defineConfig ( {
15- site : "https://dojo-osp.io" ,
14+ site : "https://dojo-osp.io" ,
1615
17- prefetch : {
18- prefetchAll : true
19- } ,
16+ prefetch : {
17+ prefetchAll : true ,
18+ } ,
2019
21- integrations : [
22- starlight ( {
23- title : "Samourai Dojo" ,
24- social : [
25- {
26- icon : "github" ,
27- label : "GitHub" ,
28- href : "https://github.com/Dojo-Open-Source-Project/" ,
29- } ,
30- ] ,
31- sidebar : [
32- {
33- label : "Installing Dojo" ,
34- items : [
35- { label : "Requirements" , slug : "install/requirements" } ,
36- {
37- label : "Install dependencies" ,
38- slug : "install/install-dependencies" ,
39- } ,
40- {
41- label : "Create segregated user" ,
42- slug : "install/segregated-user" ,
43- } ,
44- {
45- label : "Download and verify Dojo" ,
46- slug : "install/download-and-verify" ,
47- } ,
48- { label : "Configure Dojo" , slug : "install/configure-dojo" } ,
49- { label : "Install Dojo" , slug : "install/install-dojo" } ,
50- {
51- label : "Monitoring syncing status" ,
52- slug : "install/monitoring-syncing-status" ,
53- } ,
54- ] ,
55- } ,
56- {
57- label : "Using Dojo" ,
58- items : [
59- {
60- label : "Dojo Maintenance Tool" ,
61- slug : "usage/dojo-maintenance-tool" ,
62- } ,
63- {
64- label : "General usage practice" ,
65- slug : "usage/general-usage-practice" ,
66- } ,
67- {
68- label : "Common terminal commands" ,
69- slug : "usage/common-terminal-commands" ,
70- } ,
71- {
72- label : "Personal block explorer" ,
73- slug : "usage/personal-block-explorer" ,
74- } ,
75- { label : "Healthy logs" , slug : "usage/healthy-logs" } ,
76- {
77- label : "Viewing and editing configuration files" ,
78- slug : "usage/view-edit-config-files" ,
79- } ,
80- { label : "Updating Dojo" , slug : "usage/updating-dojo" } ,
81- ] ,
82- } ,
83- ] ,
84- plugins : [
85- starlightBlog ( {
86- title : "Releases" ,
87- postCount : 5 ,
88- prefix : "releases" ,
89- } ) ,
90- starlightImageZoom ( ) ,
91- ] ,
92- } ) ,
93- react ( ) ,
94- mdx ( ) ,
95- sitemap ( ) ,
20+ integrations : [
21+ starlight ( {
22+ title : "Dojo Open Source Project" ,
23+ logo : {
24+ src : "./src/assets/dojo.svg" ,
25+ } ,
26+ social : [
27+ {
28+ icon : "github" ,
29+ label : "GitHub" ,
30+ href : "https://github.com/Dojo-Open-Source-Project/" ,
31+ } ,
32+ ] ,
33+ sidebar : [
34+ {
35+ label : "Installing Dojo" ,
36+ items : [
37+ { label : "Requirements" , slug : "install/requirements" } ,
38+ {
39+ label : "Install dependencies" ,
40+ slug : "install/install-dependencies" ,
41+ } ,
42+ {
43+ label : "Create segregated user" ,
44+ slug : "install/segregated-user" ,
45+ } ,
46+ {
47+ label : "Download and verify Dojo" ,
48+ slug : "install/download-and-verify" ,
49+ } ,
50+ { label : "Configure Dojo" , slug : "install/configure-dojo" } ,
51+ { label : "Install Dojo" , slug : "install/install-dojo" } ,
52+ {
53+ label : "Monitoring syncing status" ,
54+ slug : "install/monitoring-syncing-status" ,
55+ } ,
56+ ] ,
57+ } ,
58+ {
59+ label : "Using Dojo" ,
60+ items : [
61+ {
62+ label : "Dojo Maintenance Tool" ,
63+ slug : "usage/dojo-maintenance-tool" ,
64+ } ,
65+ {
66+ label : "General usage practice" ,
67+ slug : "usage/general-usage-practice" ,
68+ } ,
69+ {
70+ label : "Common terminal commands" ,
71+ slug : "usage/common-terminal-commands" ,
72+ } ,
73+ {
74+ label : "Personal block explorer" ,
75+ slug : "usage/personal-block-explorer" ,
76+ } ,
77+ { label : "Healthy logs" , slug : "usage/healthy-logs" } ,
78+ {
79+ label : "Viewing and editing configuration files" ,
80+ slug : "usage/view-edit-config-files" ,
81+ } ,
82+ { label : "Updating Dojo" , slug : "usage/updating-dojo" } ,
83+ ] ,
84+ } ,
85+ ] ,
86+ plugins : [
87+ starlightBlog ( {
88+ title : "Releases" ,
89+ postCount : 5 ,
90+ prefix : "releases" ,
91+ } ) ,
92+ starlightImageZoom ( ) ,
93+ ] ,
94+ } ) ,
95+ react ( ) ,
96+ mdx ( ) ,
97+ sitemap ( ) ,
9698 ] ,
9799
98- vite : {
99- plugins : [ tailwindcss ( ) ] ,
100- } ,
101- } ) ;
100+ vite : {
101+ plugins : [ tailwindcss ( ) ] ,
102+ } ,
103+ } ) ;
0 commit comments