Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,254 changes: 1,254 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/chore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: "\U0001F9F9 Chore"
about: "분류가 어렵다면? \U0001F9F9"
title: '[Chore]'
labels: ':broom: Chore, D-3'
assignees: ''
---

### 작업 내용

(여기에 작업 내용을 자유롭게 작성해주세요.)
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/docs-creation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "\U0001F4DD Docs"
about: "문서화해요 \U0001F4DD"
title: '[Docs] '
labels: ':memo: Docs'
assignees: ''
---

### 📄 문서화 대상

> 어떤 부분을 문서화할 것인지 작성해주세요.
> e.g. README 수정, 주석 추가, 기술 문서화 등



---

### 작업 내용

(여기에 문서화 내용을 작성해주세요.)
6 changes: 5 additions & 1 deletion .github/ISSUE_TEMPLATE/feature-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ assignees: ''
> 컨텍스트 / 배경을 설명한다. (이 기능이 왜 필요한지, 어떤 상황에서 파생되었는지 서술해주세요.)
> 예: 로그인 기능에서 인증 상태 유지 중 에러가 발생하여 세션 관리 기능이 필요해졌습니다.



---

### 연관 이슈

> 연관 이슈가 없다면 생략한다
Expand All @@ -36,4 +40,4 @@ assignees: ''

---

### 🔧 TODO
### 🔧 TODO
6 changes: 4 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## ✅ 체크리스트

- [ ] merge 타겟 브랜치 잘 설정되었는지 확인하기 (fe/dev, be/dev)
- [ ] merge 대상 브랜치 설정 여부 확인 (prod: main, dev: develop)
- [ ] PR 제목 컨벤션 준수 여부 확인

## 🔥 연관 이슈

Expand All @@ -10,7 +11,8 @@

## 🚀 작업 내용

>
> 작업한 내용을 구체적으로 작성해주세요.
> 내용이 길어지거나 문서화해야 해서 보존해야 하는 경우 외부에 작성하고 반드시 링크 첨부해주세요.

1.

Expand Down
34 changes: 34 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ plugins {
java
id("org.springframework.boot") version "3.5.9"
id("io.spring.dependency-management") version "1.1.7"
id("org.asciidoctor.jvm.convert") version "4.0.5"
}

group = "com.umc"
Expand All @@ -19,6 +20,7 @@ configurations {
compileOnly {
extendsFrom(configurations.annotationProcessor.get())
}
create("asciidoctorExt")
}

repositories {
Expand Down Expand Up @@ -116,8 +118,40 @@ dependencies {
testImplementation("org.testcontainers:testcontainers")
testImplementation("org.testcontainers:junit-jupiter")
testImplementation("org.testcontainers:postgresql")

// --- Spring REST Docs ---
"asciidoctorExt"("org.springframework.restdocs:spring-restdocs-asciidoctor")
testImplementation("org.springframework.restdocs:spring-restdocs-mockmvc")
}

tasks.withType<Test> {
useJUnitPlatform()
}

val snippetsDir = file("build/generated-snippets")

tasks.test {
outputs.dir(snippetsDir)

}

tasks.asciidoctor {
inputs.dir(snippetsDir)
configurations("asciidoctorExt")

attributes(mapOf("snippets" to snippetsDir)) // @kyeoungwoon 추가!

sources {
include("**/index.adoc")
}

baseDirFollowsSourceDir()
dependsOn(tasks.test)
}

tasks.bootJar {
dependsOn(tasks.asciidoctor)
from(tasks.asciidoctor.get().outputDir) {
into("static/docs")
}
}