chore: update sidebars

This commit is contained in:
ChangJoo Park(박창주) 2025-05-13 18:03:49 +09:00
parent 5025a88c07
commit 7be4a9578a
9 changed files with 109 additions and 24 deletions

6
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,6 @@
{
"dart.flutterSdkPath": "/Users/changjoopark/.local/share/mise/installs/flutter/3.29.3-stable",
"debug.javascript.defaultRuntimeExecutable": {
"pwa-node": "/Users/changjoopark/.local/share/mise/shims/node"
}
}

View file

@ -1,26 +1,74 @@
// @ts-check
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: 'My Docs',
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/withastro/starlight' }],
sidebar: [
{
label: 'Guides',
items: [
// Each item here is one entry in the navigation menu.
{ label: 'Example Guide', slug: 'guides/example' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
],
compressHTML: true,
prefetch: true,
trailingSlash: "always",
integrations: [
starlight({
title: "My Own Flutter Book",
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/withastro/starlight",
},
],
sidebar: [
{
label: "안내",
items: [
{ label: "소개", slug: "introduction/introduction" },
{ label: "시작하기", slug: "introduction/getting-started" },
],
},
{
label: "튜토리얼",
items: [
{ label: "프로젝트 1. 카운터", slug: "tutorials/1_counter" },
{
label: "프로젝트 2. TodoList",
slug: "tutorials/2_todo_list",
},
],
},
{
label: "개발 가이드",
items: [
{ label: "프로젝트 1. 카운터", slug: "tutorials/1_counter" },
{
label: "프로젝트 2. TodoList",
slug: "tutorials/2_todo_list",
},
],
},
{
label: "주요 컴포넌트",
items: [
{ label: "프로젝트 1. 카운터", slug: "tutorials/1_counter" },
{
label: "프로젝트 2. TodoList",
slug: "tutorials/2_todo_list",
},
],
},
{
label: "참조",
autogenerate: { directory: "reference" },
},
{
label: "리소스",
items: [
{
label: "프로젝트 2. TodoList",
slug: "tutorials/2_todo_list",
},
],
},
],
}),
],
});

2
package-lock.json generated
View file

@ -9,7 +9,7 @@
"version": "0.0.1",
"dependencies": {
"@astrojs/starlight": "^0.34.3",
"astro": "^5.6.1",
"astro": "^5.7.12",
"sharp": "^0.32.5"
}
},

View file

@ -7,11 +7,12 @@
"start": "astro dev",
"build": "astro build",
"preview": "astro preview",
"upgrade": "npx @astrojs/upgrade",
"astro": "astro"
},
"dependencies": {
"@astrojs/starlight": "^0.34.3",
"astro": "^5.6.1",
"astro": "^5.7.12",
"sharp": "^0.32.5"
}
}
}

View file

@ -0,0 +1,6 @@
---
title: Melos를 이용한 모노레포 구성
description: Starlight로 구축된 이 문서 사이트에서 내 프로젝트에 대해 자세히 알아보세요.
---
내 프로젝트에 오신 것을 환영합니다!

View file

@ -0,0 +1,6 @@
---
title: 시작하기
description: Starlight로 구축된 이 문서 사이트에서 내 프로젝트에 대해 자세히 알아보세요.
---
내 프로젝트에 오신 것을 환영합니다!

View file

@ -0,0 +1,6 @@
---
title: 시작하기
description: Starlight로 구축된 이 문서 사이트에서 내 프로젝트에 대해 자세히 알아보세요.
---
내 프로젝트에 오신 것을 환영합니다!

View file

@ -0,0 +1,6 @@
---
title: 카운터 앱
description: Starlight로 구축된 이 문서 사이트에서 내 프로젝트에 대해 자세히 알아보세요.
---
내 프로젝트에 오신 것을 환영합니다!

View file

@ -0,0 +1,6 @@
---
title: 할일 목록 앱
description: Starlight로 구축된 이 문서 사이트에서 내 프로젝트에 대해 자세히 알아보세요.
---
내 프로젝트에 오신 것을 환영합니다!