Skip to content

Commit aef064e

Browse files
committed
feat: sidebar 목록 업데이트
1 parent 4061c9b commit aef064e

19 files changed

+500
-449
lines changed

.pnp.cjs

+416-416
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.yarn/install-state.gz

-13 Bytes
Binary file not shown.
File renamed without changes.

docs/backend/nest_js/_category_.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"label": "Nest.js",
3+
"position": 1,
4+
"link": {
5+
"type": "generated-index",
6+
"description": "Nest.js"
7+
}
8+
}

docs/backend/nest_js/crud.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# CRUD
2+
3+
Nest.js로 CRUD App을 만들기

docs/etc/git/_category_.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"label": "Git",
3+
"position": 1,
4+
"link": {
5+
"type": "generated-index",
6+
"description": "git 사용시 까먹을 수 있는 자주 사용하는 명령어를 정리합니다."
7+
}
8+
}
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Delete All Local Branch
2+
3+
"main" 브랜치를 제외하고 모든 local branch를 지우는 명령어
4+
5+
```bash
6+
$ git branch | grep -v "main" | xargs git branch -D
7+
```

docs/etc/git/prune.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Git prune
2+
3+
Remote에 존재하지 않는 브랜치들을 Local에 반영하여 가지치기 하듯이 삭제를 진행하는 명령어
4+
5+
```bash
6+
$ git remote prune origin
7+
```
8+
9+
```bash
10+
$ git fetch --prune
11+
```

docusaurus.config.ts

+24-12
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { themes as prismThemes } from "prism-react-renderer";
44

55
/** @type {import('@docusaurus/types').Config} */
66
const config: Config = {
7-
title: "FE 지식창고",
8-
tagline: "Front-end의 전반적인 지식을 담는 공간입니다.",
7+
title: "Dev Store",
8+
tagline: "전반적인 개발 지식을 담는 공간.",
99
favicon: "img/favicon.ico",
1010

1111
// Set the production url of your site here
@@ -58,29 +58,41 @@ const config: Config = {
5858
// Replace with your project's social card
5959
image: "img/docusaurus-social-card.jpg",
6060
navbar: {
61-
title: "FE 지식창고",
61+
title: "Dev Store",
6262
logo: {
6363
alt: "My Site Logo",
6464
src: "img/logo.svg",
6565
},
6666
items: [
6767
{
6868
type: "docSidebar",
69-
sidebarId: "basicsSidebar",
69+
sidebarId: "feBasicsSidebar",
7070
position: "left",
71-
label: "Basics",
71+
label: "FE Basics",
72+
},
73+
{
74+
type: "docSidebar",
75+
sidebarId: "feAdvancesSidebar",
76+
position: "left",
77+
label: "FE Advances",
78+
},
79+
{
80+
type: "docSidebar",
81+
sidebarId: "beSidebar",
82+
position: "left",
83+
label: "Backend",
84+
},
85+
{
86+
type: "docSidebar",
87+
sidebarId: "csSidebar",
88+
position: "left",
89+
label: "CS",
7290
},
73-
// {
74-
// type: "docSidebar",
75-
// sidebarId: "csSidebar",
76-
// position: "left",
77-
// label: "CS",
78-
// },
7991
{
8092
type: "docSidebar",
8193
sidebarId: "etcSidebar",
8294
position: "left",
83-
label: "Etc",
95+
label: "ETC",
8496
},
8597
],
8698
},

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "fe-store",
2+
"name": "dev-store",
33
"version": "0.0.0",
44
"private": true,
55
"scripts": {

sidebars.ts

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ import type * as Preset from "@docusaurus/plugin-content-docs";
1313

1414
const sidebars = {
1515
// By default, Docusaurus generates a sidebar from the docs folder structure
16-
basicsSidebar: [{ type: "autogenerated", dirName: "basics" }],
17-
// csSidebar: [{ type: "autogenerated", dirName: "cs" }],
16+
feBasicsSidebar: [{ type: "autogenerated", dirName: "basics" }],
17+
feAdvancesSidebar: [{ type: "autogenerated", dirName: "advances" }],
18+
csSidebar: [{ type: "autogenerated", dirName: "cs" }],
19+
beSidebar: [{ type: "autogenerated", dirName: "backend" }],
1820
etcSidebar: [{ type: "autogenerated", dirName: "etc" }],
1921

2022
// But you can create a sidebar manually

yarn.lock

+18-18
Original file line numberDiff line numberDiff line change
@@ -4888,6 +4888,24 @@ __metadata:
48884888
languageName: node
48894889
linkType: hard
48904890

4891+
"dev-store@workspace:.":
4892+
version: 0.0.0-use.local
4893+
resolution: "dev-store@workspace:."
4894+
dependencies:
4895+
"@docusaurus/core": "npm:3.1.1"
4896+
"@docusaurus/module-type-aliases": "npm:^3.1.1"
4897+
"@docusaurus/preset-classic": "npm:3.1.1"
4898+
"@docusaurus/tsconfig": "npm:^3.1.1"
4899+
"@docusaurus/types": "npm:^3.1.1"
4900+
"@mdx-js/react": "npm:^3.0.0"
4901+
clsx: "npm:^2.0.0"
4902+
prism-react-renderer: "npm:^2.3.0"
4903+
react: "npm:^18.0.0"
4904+
react-dom: "npm:^18.0.0"
4905+
typescript: "npm:^5.3.3"
4906+
languageName: unknown
4907+
linkType: soft
4908+
48914909
"devlop@npm:^1.0.0, devlop@npm:^1.1.0":
48924910
version: 1.1.0
48934911
resolution: "devlop@npm:1.1.0"
@@ -5501,24 +5519,6 @@ __metadata:
55015519
languageName: node
55025520
linkType: hard
55035521

5504-
"fe-store@workspace:.":
5505-
version: 0.0.0-use.local
5506-
resolution: "fe-store@workspace:."
5507-
dependencies:
5508-
"@docusaurus/core": "npm:3.1.1"
5509-
"@docusaurus/module-type-aliases": "npm:^3.1.1"
5510-
"@docusaurus/preset-classic": "npm:3.1.1"
5511-
"@docusaurus/tsconfig": "npm:^3.1.1"
5512-
"@docusaurus/types": "npm:^3.1.1"
5513-
"@mdx-js/react": "npm:^3.0.0"
5514-
clsx: "npm:^2.0.0"
5515-
prism-react-renderer: "npm:^2.3.0"
5516-
react: "npm:^18.0.0"
5517-
react-dom: "npm:^18.0.0"
5518-
typescript: "npm:^5.3.3"
5519-
languageName: unknown
5520-
linkType: soft
5521-
55225522
"feed@npm:^4.2.2":
55235523
version: 4.2.2
55245524
resolution: "feed@npm:4.2.2"

0 commit comments

Comments
 (0)