Skip to content

Commit a71269c

Browse files
authored
docs: 구조 변경 (#13)
* feat: change logo * docs: 문서 구조 변경
1 parent 493f1ae commit a71269c

17 files changed

+743
-466
lines changed

docs/.vitepress/config.ts

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,37 +4,47 @@ export default defineConfig({
44
base: "/build-your-own-tanstack-query/",
55
title: "Build your own TanStack Query",
66
description: "Build your own TanStack Query",
7-
head: [["link", { rel: "icon", href: "/build-your-own-tanstack-query/favicon.png" }]],
7+
head: [["link", { rel: "icon", href: "/build-your-own-tanstack-query/tanstack-query-logo.png" }]],
88
locales: {
99
root: { label: "한국어" }
1010
},
11+
1112
themeConfig: {
1213
siteTitle: "Home",
1314
search: {
1415
provider: "local"
1516
},
16-
nav: [{ text: "학습하기", link: "/intro" }],
17+
outline: {
18+
level: "deep"
19+
},
20+
nav: [{ text: "학습하기", link: "/overview" }],
1721
sidebar: [
1822
{
19-
text: "가이드",
20-
items: [{ text: "소개", link: "/intro" }]
23+
text: "소개",
24+
items: [{ text: "개요", link: "/overview" }]
2125
},
2226
{
23-
text: "설명",
27+
text: "가이드",
2428
items: [
25-
{ text: "구조", link: "/architecture" },
2629
{
27-
text: "주요 기능",
30+
text: "코어 영역",
2831
items: [
29-
{ text: "코어 영역", link: "/core" },
30-
{ text: "React에 적용하기", link: "/core-with-react" }
32+
{ text: "소개", link: "/core/index.md" },
33+
{ text: "QueryClient", link: "/core/query-client" },
34+
{ text: "QueryCache", link: "/core/query-cache" },
35+
{ text: "Query", link: "/core/query" },
36+
{ text: "QueryObserver", link: "/core/query-observer" }
3137
]
3238
},
3339
{
34-
text: "추가 기능",
40+
text: "React 영역",
41+
items: [{ text: "소개", link: "/react/index.md" }]
42+
},
43+
{
44+
text: "더 알아보기",
3545
items: [
36-
{ text: "Window Focus Refetching", link: "/window-focus-refetching" },
37-
{ text: "Devtools", link: "/devtools" }
46+
{ text: "Window Focus Refetching", link: "/learn-more/window-focus-refetching" },
47+
{ text: "Devtools", link: "/learn-more/devtools" }
3848
]
3949
}
4050
]

docs/architecture.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

docs/core-with-react.md

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)