Skip to content

Commit

Permalink
✨ 블로그 구조 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
ohju96 committed Dec 21, 2023
1 parent a1d5201 commit 0ce787e
Show file tree
Hide file tree
Showing 10 changed files with 61 additions and 21 deletions.
2 changes: 1 addition & 1 deletion service/_category_.json → docs/service/_category_.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"label": "도달도달 서비스",
"label": "dodal-dodal",
"position": 1,
"link": {
"type": "generated-index",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_position: 1
## 데이터베이스만 참여하게 된 이야기
간단하게 정의하자면 도달도달은 1 : 1 목표 달성 챌린지이다. 내가 프로젝트에 참여한 것은 아니고 어쩌다 보니 데이터베이스 일부분만 간접적으로 참여하게 되었다. ‘숨겨진 멤버’ 이런 느낌이다.

![](./img/01.png)<!-- {"width":654} -->
![](img/01.png)<!-- {"width":654} -->
형욱님이 팀원 중 백엔드 하시는 분이 설계해온 테이블이라고 봐달라고 했다.

“와우”
Expand Down
File renamed without changes
Empty file added docs/service/introduction.md
Empty file.
8 changes: 8 additions & 0 deletions docs/study/domain -driven-design/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"label": "Domain Driven Design",
"position": 2,
"link": {
"type": "generated-index",
"description": "도메인 주도 설계.. 너 도대체 뭐냐?"
}
}
File renamed without changes.
Empty file added docs/study/introduction.md
Empty file.
7 changes: 3 additions & 4 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,14 @@ const config: Config = {
},
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
type: 'doc',
docId: 'study/introduction',
position: 'left',
label: '공부',
},
{
to: '/service',
type: 'docSidebar',
sidebarId: 'serviceSidebar',
sidebarId: 'service',
position: 'left',
label: '서비스',
},
Expand Down
63 changes: 48 additions & 15 deletions sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,55 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
Create as many sidebars as you want.
*/
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
serviceSidebar: [{type: 'autogenerated', dirName: './service'}],

// But you can create a sidebar manually
/*
tutorialSidebar: [
'intro',
'hello',
{
type: 'category',
label: 'Tutorial',
items: ['tutorial-basics/create-a-document'],
},
],
*/
docs: [
'study/introduction',
{
type: 'category',
label: 'gof-design-patterns',
link: {
type: 'generated-index',
},
collapsed: false,
items: [
{
type: 'autogenerated',
dirName: 'study/gof-design-patterns',
},
],
},
{
type: 'category',
label: 'domain-driven-design',
link: {
type: 'generated-index',
},
collapsed: false,
items: [
{
type: 'autogenerated',
dirName: 'study/domain-driven-design',
},
],
},
],
service: [
'service/introduction',
{
type: 'category',
label: 'dodal-dodal',
link: {
type: 'generated-index',
},
collapsed: false,
items: [
{
type: 'autogenerated',
dirName: 'service/dodal-dodal',
},
],
},
]
};

export default sidebars;

0 comments on commit 0ce787e

Please sign in to comment.