From f706eb217a22dd1bed0a8c46f051cc32980d1b98 Mon Sep 17 00:00:00 2001 From: EunBae Gong Date: Wed, 27 Mar 2024 04:41:19 +0900 Subject: [PATCH] feat: add books sidebar --- docs/books/intro.md | 7 +++++++ docs/books/js_datastructure_algorithm/10.md | 7 +++++++ docs/books/js_datastructure_algorithm/1_4.md | 7 +++++++ docs/books/js_datastructure_algorithm/5_6.md | 7 +++++++ docs/books/js_datastructure_algorithm/7.md | 7 +++++++ docs/books/js_datastructure_algorithm/_category_.json | 8 ++++++++ docs/books/js_deep_dive/4.md | 3 +++ docs/books/js_deep_dive/_category_.json | 8 ++++++++ docusaurus.config.ts | 6 ++++++ sidebars.ts | 1 + 10 files changed, 61 insertions(+) create mode 100644 docs/books/intro.md create mode 100644 docs/books/js_datastructure_algorithm/10.md create mode 100644 docs/books/js_datastructure_algorithm/1_4.md create mode 100644 docs/books/js_datastructure_algorithm/5_6.md create mode 100644 docs/books/js_datastructure_algorithm/7.md create mode 100644 docs/books/js_datastructure_algorithm/_category_.json create mode 100644 docs/books/js_deep_dive/4.md create mode 100644 docs/books/js_deep_dive/_category_.json diff --git a/docs/books/intro.md b/docs/books/intro.md new file mode 100644 index 0000000..dca4d1e --- /dev/null +++ b/docs/books/intro.md @@ -0,0 +1,7 @@ +--- +sidebar_position: 1 +--- + +# Books Intro + +개발 서적을 읽고 정리합니다. diff --git a/docs/books/js_datastructure_algorithm/10.md b/docs/books/js_datastructure_algorithm/10.md new file mode 100644 index 0000000..c6f98d6 --- /dev/null +++ b/docs/books/js_datastructure_algorithm/10.md @@ -0,0 +1,7 @@ +--- +sidebar_position: 4 +--- + +# 10장 검색과 정렬 + +[블로그 정리 링크](https://devpluto.tistory.com/entry/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A1%9C-%ED%95%98%EB%8A%94-%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0%EC%99%80-%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98-10%EC%9E%A5-%EA%B2%80%EC%83%89%EA%B3%BC-%EC%A0%95%EB%A0%AC) diff --git a/docs/books/js_datastructure_algorithm/1_4.md b/docs/books/js_datastructure_algorithm/1_4.md new file mode 100644 index 0000000..bad5fd7 --- /dev/null +++ b/docs/books/js_datastructure_algorithm/1_4.md @@ -0,0 +1,7 @@ +--- +sidebar_position: 1 +--- + +# 1~4장 + +[블로그 정리 링크](https://devpluto.tistory.com/entry/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A1%9C-%ED%95%98%EB%8A%94-%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0%EC%99%80-%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98-14%EC%9E%A5) diff --git a/docs/books/js_datastructure_algorithm/5_6.md b/docs/books/js_datastructure_algorithm/5_6.md new file mode 100644 index 0000000..ec8511e --- /dev/null +++ b/docs/books/js_datastructure_algorithm/5_6.md @@ -0,0 +1,7 @@ +--- +sidebar_position: 2 +--- + +# 5~6장 자바스크립트 배열, 객체 + +[블로그 정리 링크](https://devpluto.tistory.com/entry/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A1%9C-%ED%95%98%EB%8A%94-%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0%EC%99%80-%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98-56%EC%9E%A5) diff --git a/docs/books/js_datastructure_algorithm/7.md b/docs/books/js_datastructure_algorithm/7.md new file mode 100644 index 0000000..20b6140 --- /dev/null +++ b/docs/books/js_datastructure_algorithm/7.md @@ -0,0 +1,7 @@ +--- +sidebar_position: 3 +--- + +# 7장 자바스크립트 메모리 관리 + +[블로그 정리 링크](https://devpluto.tistory.com/entry/%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A1%9C-%ED%95%98%EB%8A%94-%EC%9E%90%EB%A3%8C%EA%B5%AC%EC%A1%B0%EC%99%80-%EC%95%8C%EA%B3%A0%EB%A6%AC%EC%A6%98-7%EC%9E%A5) diff --git a/docs/books/js_datastructure_algorithm/_category_.json b/docs/books/js_datastructure_algorithm/_category_.json new file mode 100644 index 0000000..c573958 --- /dev/null +++ b/docs/books/js_datastructure_algorithm/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "자바스크립트로 하는 자료구조와 알고리즘", + "position": 2, + "link": { + "type": "generated-index", + "description": "배세민, ⌜자바스크립트로 하는 자료구조와 알고리즘⌟, 에이콘, 2019" + } +} diff --git a/docs/books/js_deep_dive/4.md b/docs/books/js_deep_dive/4.md new file mode 100644 index 0000000..88acc9b --- /dev/null +++ b/docs/books/js_deep_dive/4.md @@ -0,0 +1,3 @@ +# 04. 변수 + +[블로그 정리 링크](https://devpluto.tistory.com/entry/%EB%AA%A8%EB%8D%98-%EC%9E%90%EB%B0%94%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8-Deep-Dive-04-%EB%B3%80%EC%88%98) diff --git a/docs/books/js_deep_dive/_category_.json b/docs/books/js_deep_dive/_category_.json new file mode 100644 index 0000000..aadc81b --- /dev/null +++ b/docs/books/js_deep_dive/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "모던 자바스크립드 Deep Dive", + "position": 1, + "link": { + "type": "generated-index", + "description": "이웅모, ⌜모던 자바스크립트 Deep Dive⌟, 위키북스, 2020" + } +} diff --git a/docusaurus.config.ts b/docusaurus.config.ts index e52b374..7dfccf2 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -89,6 +89,12 @@ const config: Config = { position: "left", label: "CS", }, + { + type: "docSidebar", + sidebarId: "booksSidebar", + position: "left", + label: "Books", + }, { type: "docSidebar", sidebarId: "etcSidebar", diff --git a/sidebars.ts b/sidebars.ts index 3b4555a..a12e175 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -17,6 +17,7 @@ const sidebars = { feAdvancesSidebar: [{ type: "autogenerated", dirName: "advances" }], csSidebar: [{ type: "autogenerated", dirName: "cs" }], beSidebar: [{ type: "autogenerated", dirName: "backend" }], + booksSidebar: [{ type: "autogenerated", dirName: "books" }], etcSidebar: [{ type: "autogenerated", dirName: "etc" }], // But you can create a sidebar manually