@@ -238,9 +238,17 @@ export default defineConfig({
238238 {
239239 label : { en : 'References' , 'zh-CN' : '参考' , es : 'Referencias' } ,
240240 id : 'references' ,
241- link : '/references ' ,
242- icon : 'information ' ,
241+ link : '/reference/cli ' ,
242+ icon : 'document ' ,
243243 items : [
244+ {
245+ label : 'Command Line Interface' ,
246+ translations : {
247+ 'zh-CN' : '命令行接口(CLI)' ,
248+ es : 'Interfaz de línea de comandos' ,
249+ } ,
250+ link : '/reference/cli/' ,
251+ } ,
244252 {
245253 label : 'Security' ,
246254 translations : {
@@ -250,14 +258,6 @@ export default defineConfig({
250258 collapsed : true ,
251259 autogenerate : { directory : 'reference/acl' } ,
252260 } ,
253- {
254- label : 'Command Line Interface' ,
255- translations : {
256- 'zh-CN' : '命令行接口(CLI)' ,
257- es : 'Interfaz de línea de comandos' ,
258- } ,
259- link : '/reference/cli/' ,
260- } ,
261261 {
262262 label : 'Configuration' ,
263263 translations : {
@@ -304,12 +304,16 @@ export default defineConfig({
304304 } ,
305305 {
306306 label : 'Blog' ,
307+ id : 'blog' ,
307308 link : '/blog/' ,
308- icon : 'information' ,
309+ icon : 'pen' ,
310+ // Empty item to instruct it that is is local files, not an external link
311+ // this is actually filled in through the topics dir for `blog` below
312+ items : [ ] ,
309313 } ,
310314 ] ,
311315 {
312- exclude : [ '/blog' , '/blog/** /*' ] ,
316+ topics : { blog : [ '/blog' , '/blog/*' , '/blog/** /*'] } ,
313317 }
314318 ) ,
315319 starlightLinksValidator ( {
0 commit comments