mirror of
https://github.com/ChangJoo-Park/learn-flutter.git
synced 2025-06-08 21:53:09 +00:00
chore: update sidebars
This commit is contained in:
parent
5025a88c07
commit
7be4a9578a
9 changed files with 109 additions and 24 deletions
6
.vscode/settings.json
vendored
Normal file
6
.vscode/settings.json
vendored
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,24 +1,72 @@
|
||||||
// @ts-check
|
// @ts-check
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from "astro/config";
|
||||||
import starlight from '@astrojs/starlight';
|
import starlight from "@astrojs/starlight";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
compressHTML: true,
|
||||||
|
prefetch: true,
|
||||||
|
trailingSlash: "always",
|
||||||
integrations: [
|
integrations: [
|
||||||
starlight({
|
starlight({
|
||||||
title: 'My Docs',
|
title: "My Own Flutter Book",
|
||||||
social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/withastro/starlight' }],
|
social: [
|
||||||
|
{
|
||||||
|
icon: "github",
|
||||||
|
label: "GitHub",
|
||||||
|
href: "https://github.com/withastro/starlight",
|
||||||
|
},
|
||||||
|
],
|
||||||
sidebar: [
|
sidebar: [
|
||||||
{
|
{
|
||||||
label: 'Guides',
|
label: "안내",
|
||||||
items: [
|
items: [
|
||||||
// Each item here is one entry in the navigation menu.
|
{ label: "소개", slug: "introduction/introduction" },
|
||||||
{ label: 'Example Guide', slug: 'guides/example' },
|
{ label: "시작하기", slug: "introduction/getting-started" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Reference',
|
label: "튜토리얼",
|
||||||
autogenerate: { directory: 'reference' },
|
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
2
package-lock.json
generated
|
@ -9,7 +9,7 @@
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/starlight": "^0.34.3",
|
"@astrojs/starlight": "^0.34.3",
|
||||||
"astro": "^5.6.1",
|
"astro": "^5.7.12",
|
||||||
"sharp": "^0.32.5"
|
"sharp": "^0.32.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -7,11 +7,12 @@
|
||||||
"start": "astro dev",
|
"start": "astro dev",
|
||||||
"build": "astro build",
|
"build": "astro build",
|
||||||
"preview": "astro preview",
|
"preview": "astro preview",
|
||||||
|
"upgrade": "npx @astrojs/upgrade",
|
||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/starlight": "^0.34.3",
|
"@astrojs/starlight": "^0.34.3",
|
||||||
"astro": "^5.6.1",
|
"astro": "^5.7.12",
|
||||||
"sharp": "^0.32.5"
|
"sharp": "^0.32.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
6
src/content/docs/guides/monorepo_with_melos.md
Normal file
6
src/content/docs/guides/monorepo_with_melos.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: Melos를 이용한 모노레포 구성
|
||||||
|
description: Starlight로 구축된 이 문서 사이트에서 내 프로젝트에 대해 자세히 알아보세요.
|
||||||
|
---
|
||||||
|
|
||||||
|
내 프로젝트에 오신 것을 환영합니다!
|
6
src/content/docs/introduction/getting-started.md
Normal file
6
src/content/docs/introduction/getting-started.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: 시작하기
|
||||||
|
description: Starlight로 구축된 이 문서 사이트에서 내 프로젝트에 대해 자세히 알아보세요.
|
||||||
|
---
|
||||||
|
|
||||||
|
내 프로젝트에 오신 것을 환영합니다!
|
6
src/content/docs/introduction/introduction.md
Normal file
6
src/content/docs/introduction/introduction.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: 시작하기
|
||||||
|
description: Starlight로 구축된 이 문서 사이트에서 내 프로젝트에 대해 자세히 알아보세요.
|
||||||
|
---
|
||||||
|
|
||||||
|
내 프로젝트에 오신 것을 환영합니다!
|
6
src/content/docs/tutorials/1_counter.md
Normal file
6
src/content/docs/tutorials/1_counter.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: 카운터 앱
|
||||||
|
description: Starlight로 구축된 이 문서 사이트에서 내 프로젝트에 대해 자세히 알아보세요.
|
||||||
|
---
|
||||||
|
|
||||||
|
내 프로젝트에 오신 것을 환영합니다!
|
6
src/content/docs/tutorials/2_todo_list.md
Normal file
6
src/content/docs/tutorials/2_todo_list.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: 할일 목록 앱
|
||||||
|
description: Starlight로 구축된 이 문서 사이트에서 내 프로젝트에 대해 자세히 알아보세요.
|
||||||
|
---
|
||||||
|
|
||||||
|
내 프로젝트에 오신 것을 환영합니다!
|
Loading…
Add table
Reference in a new issue