Skip to content

Commit 3e045f2

Browse files
committed
feat(install): 설치 섹션 추가 — 아키텍처·PoC 사이, Notion 연동
1 parent 77fca14 commit 3e045f2

6 files changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/notion-sync.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
_POC_DB: ${{ secrets.NOTION_POC }}
3232
_DOCS_DB: ${{ secrets.NOTION_DOCS }}
3333
_RELEASE_DB: ${{ secrets.NOTION_RELEASE }}
34+
_INSTALL_DB: ${{ secrets.NOTION_INSTALL }}
3435
steps:
3536
- name: Checkout
3637
uses: actions/checkout@v4
@@ -88,6 +89,12 @@ jobs:
8889
pids+=($!)
8990
fi
9091
92+
if [ -n "$_INSTALL_DB" ]; then
93+
NOTION_DATABASE_ID="$_INSTALL_DB" SAVE_DIR=docs/install FETCH_MODE=ALL \
94+
python scripts/notion_to_docs_generic.py &
95+
pids+=($!)
96+
fi
97+
9198
if [ ${#pids[@]} -eq 0 ]; then
9299
echo "동기화할 DB가 없습니다. GitHub Secrets에 NOTION_* 변수를 설정하세요."
93100
exit 0

docs/install/_category_.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"label": "설치",
3+
"position": 3,
4+
"link": {
5+
"type": "generated-index",
6+
"description": "SceneMakerAI 프로젝트 설치 가이드를 정리합니다."
7+
}
8+
}

docs/install/overview.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
id: overview
3+
title: 설치 개요
4+
sidebar_position: 0
5+
---
6+
7+
SceneMakerAI 프로젝트 설치 방법을 정리합니다.

docusaurus.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,12 @@ const config: Config = {
147147
position: 'left',
148148
label: '아키텍처',
149149
},
150+
{
151+
type: 'docSidebar',
152+
sidebarId: 'installSidebar',
153+
position: 'left',
154+
label: '설치',
155+
},
150156
{
151157
type: 'docSidebar',
152158
sidebarId: 'pocSidebar',

scripts/sync-local.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ if [ -n "$NOTION_RELEASE" ]; then
6565
pids+=($!)
6666
fi
6767

68+
if [ -n "$NOTION_INSTALL" ]; then
69+
NOTION_DATABASE_ID="$NOTION_INSTALL" SAVE_DIR=docs/install FETCH_MODE=ALL \
70+
python scripts/notion_to_docs_generic.py &
71+
pids+=($!)
72+
fi
73+
6874
if [ ${#pids[@]} -eq 0 ]; then
6975
echo "동기화할 DB가 없습니다. .env 파일에 NOTION_* 변수를 설정하세요."
7076
exit 0

sidebars.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ const sidebars: SidebarsConfig = {
2626
{type: 'autogenerated', dirName: 'architecture'},
2727
],
2828

29+
installSidebar: [
30+
{type: 'autogenerated', dirName: 'install'},
31+
],
32+
2933
pocSidebar: [
3034
{type: 'autogenerated', dirName: 'poc'},
3135
],

0 commit comments

Comments
 (0)