1- import { defineConfig } from "astro/config" ;
21import starlight from "@astrojs/starlight" ;
2+ import { defineConfig } from "astro/config" ;
33
44export default defineConfig ( {
55 site : "https://cli.archgate.dev" ,
@@ -79,22 +79,14 @@ export default defineConfig({
7979 href : "https://github.com/archgate/cli" ,
8080 } ,
8181 ] ,
82- components : {
83- Head : "./src/components/HeadSEO.astro" ,
84- } ,
85- editLink : {
86- baseUrl : "https://github.com/archgate/cli/edit/main/docs/" ,
87- } ,
82+ components : { Head : "./src/components/HeadSEO.astro" } ,
83+ editLink : { baseUrl : "https://github.com/archgate/cli/edit/main/docs/" } ,
8884 favicon : "/favicon.svg" ,
8985 head : [
9086 // ── Favicon ───────────────────────────────────────────────
9187 {
9288 tag : "link" ,
93- attrs : {
94- rel : "icon" ,
95- type : "image/svg+xml" ,
96- href : "/favicon.svg" ,
97- } ,
89+ attrs : { rel : "icon" , type : "image/svg+xml" , href : "/favicon.svg" } ,
9890 } ,
9991 // ── Analytics ─────────────────────────────────────────────
10092 {
@@ -106,18 +98,12 @@ export default defineConfig({
10698 } ,
10799 } ,
108100 // ── Open Graph ────────────────────────────────────────────
109- {
110- tag : "meta" ,
111- attrs : { property : "og:type" , content : "website" } ,
112- } ,
101+ { tag : "meta" , attrs : { property : "og:type" , content : "website" } } ,
113102 {
114103 tag : "meta" ,
115104 attrs : { property : "og:site_name" , content : "Archgate" } ,
116105 } ,
117- {
118- tag : "meta" ,
119- attrs : { property : "og:locale" , content : "en_US" } ,
120- } ,
106+ { tag : "meta" , attrs : { property : "og:locale" , content : "en_US" } } ,
121107 {
122108 tag : "meta" ,
123109 attrs : { property : "og:locale:alternate" , content : "pt_BR" } ,
@@ -129,14 +115,8 @@ export default defineConfig({
129115 content : "https://cli.archgate.dev/og-image.png" ,
130116 } ,
131117 } ,
132- {
133- tag : "meta" ,
134- attrs : { property : "og:image:width" , content : "1200" } ,
135- } ,
136- {
137- tag : "meta" ,
138- attrs : { property : "og:image:height" , content : "630" } ,
139- } ,
118+ { tag : "meta" , attrs : { property : "og:image:width" , content : "1200" } } ,
119+ { tag : "meta" , attrs : { property : "og:image:height" , content : "630" } } ,
140120 {
141121 tag : "meta" ,
142122 attrs : {
@@ -158,14 +138,8 @@ export default defineConfig({
158138 } ,
159139 } ,
160140 // ── Additional meta ───────────────────────────────────────
161- {
162- tag : "meta" ,
163- attrs : { name : "author" , content : "Archgate" } ,
164- } ,
165- {
166- tag : "meta" ,
167- attrs : { name : "theme-color" , content : "#6366f1" } ,
168- } ,
141+ { tag : "meta" , attrs : { name : "author" , content : "Archgate" } } ,
142+ { tag : "meta" , attrs : { name : "theme-color" , content : "#6366f1" } } ,
169143 {
170144 tag : "meta" ,
171145 attrs : {
@@ -225,10 +199,7 @@ export default defineConfig({
225199 {
226200 label : "Core Concepts" ,
227201 items : [
228- {
229- label : "Architecture Decision Records" ,
230- slug : "concepts/adrs" ,
231- } ,
202+ { label : "Architecture Decision Records" , slug : "concepts/adrs" } ,
232203 { label : "Rules" , slug : "concepts/rules" } ,
233204 { label : "Domains" , slug : "concepts/domains" } ,
234205 ] ,
@@ -239,26 +210,11 @@ export default defineConfig({
239210 { label : "Writing ADRs" , slug : "guides/writing-adrs" } ,
240211 { label : "Writing Rules" , slug : "guides/writing-rules" } ,
241212 { label : "CI Integration" , slug : "guides/ci-integration" } ,
242- {
243- label : "Claude Code Plugin" ,
244- slug : "guides/claude-code-plugin" ,
245- } ,
246- {
247- label : "VS Code Plugin" ,
248- slug : "guides/vscode-plugin" ,
249- } ,
250- {
251- label : "Copilot CLI Plugin" ,
252- slug : "guides/copilot-cli-plugin" ,
253- } ,
254- {
255- label : "Cursor Integration" ,
256- slug : "guides/cursor-integration" ,
257- } ,
258- {
259- label : "Pre-commit Hooks" ,
260- slug : "guides/pre-commit-hooks" ,
261- } ,
213+ { label : "Claude Code Plugin" , slug : "guides/claude-code-plugin" } ,
214+ { label : "VS Code Plugin" , slug : "guides/vscode-plugin" } ,
215+ { label : "Copilot CLI Plugin" , slug : "guides/copilot-cli-plugin" } ,
216+ { label : "Cursor Integration" , slug : "guides/cursor-integration" } ,
217+ { label : "Pre-commit Hooks" , slug : "guides/pre-commit-hooks" } ,
262218 ] ,
263219 } ,
264220 {
0 commit comments