Skip to content

Conversation

@jk-kim0
Copy link
Contributor

@jk-kim0 jk-kim0 commented Feb 11, 2026

Summary

  • 기존 4단계 파이프라인(fetch_cli.pytranslate_titles.pygenerate_commands...pyxhtml2markdown.ko.sh)을 2단계(fetch_cli.pyconvert_all.py)로 단순화합니다.

Commits

1. feat(convert_all): pages.yaml 기반 일괄 변환 스크립트 추가

  • bin/convert_all.py 추가: pages.yaml 기반으로 전체 Confluence 페이지를 MDX로 일괄 변환
  • --verify-translations: 한국어 제목 번역 누락 검증
  • --generate-list: 디버깅용 list.txt / list.en.txt 선택적 생성
  • scripts/entrypoint.shfull 워크플로우를 fetch_cli.pyconvert_all.py 2단계로 단순화
  • README.md의 변환 절차를 2단계로 간소화

2. chore: 구 파이프라인 도구 삭제 및 참조 정리

  • 불필요해진 구 파이프라인 도구 삭제:
    • bin/translate_titles.py, bin/generate_commands_for_xhtml2markdown.py, bin/generated/ 디렉토리, var/list.en.txt
  • scripts/entrypoint.sh에서 title), generate_commands), convert) case 제거
  • compose.yml에서 구 파이프라인 주석과 list.en.txt volume mount 제거
  • Dockerfile에서 bin/generated/*.sh chmod 제거
  • CONTAINER_DESIGN.md를 단순화된 2단계 파이프라인으로 업데이트

Related

Test plan

  • convert_all.py --help 정상 출력
  • convert_all.py --verify-translations 번역 검증 통과 (121개 번역, 누락 0건)
  • convert_all.py --generate-list list.txt/list.en.txt 생성 확인 (289건)
  • convert_all.py 전체 변환 289개 페이지 성공
  • 기존 converter 테스트 18개, render 테스트 21개 통과

🤖 Generated with Claude Code

## Description
- `bin/convert_all.py`를 추가하여, `pages.yaml` 기반으로 전체 Confluence 페이지를 MDX로 일괄 변환합니다.
  - `translate_titles.py` → `generate_commands_for_xhtml2markdown.py` → `xhtml2markdown.ko.sh` 3단계를 대체합니다.
  - `--verify-translations`: 한국어 제목 번역 누락 검증만 수행합니다.
  - `--generate-list`: 디버깅용 `list.txt` / `list.en.txt`를 선택적으로 생성합니다.
- `scripts/entrypoint.sh`의 `full` 워크플로우를 `fetch_cli.py` → `convert_all.py` 2단계로 단순화합니다.
- `README.md`의 변환 절차를 2단계로 간소화합니다.

## Related tickets & links
- docs/plan-simplify-convert-pipeline.md (#680)

## Added/updated tests?
- [x] No, and this is why: 기존 converter 테스트 18개, render 테스트 21개 모두 통과 확인. `convert_all.py`는 기존 `converter/cli.py`를 호출하는 오케스트레이터이므로, 별도 단위 테스트 없이 통합 검증으로 충분합니다.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@vercel
Copy link

vercel bot commented Feb 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
querypie-docs Ready Ready Preview, Comment Feb 11, 2026 9:35am

Request Review

## Description
- `bin/translate_titles.py`, `bin/generate_commands_for_xhtml2markdown.py`, `bin/generated/` 디렉토리를 삭제합니다.
  - `convert_all.py`가 이들의 기능을 완전히 대체합니다.
- `var/list.en.txt`를 삭제합니다 (필요 시 `convert_all.py --generate-list`로 재생성 가능).
- `scripts/entrypoint.sh`에서 `title)`, `generate_commands)`, `convert)` case를 제거합니다.
- `compose.yml`에서 구 파이프라인 주석과 `list.en.txt` volume mount를 제거합니다.
- `Dockerfile`에서 `bin/generated/*.sh` chmod를 제거합니다.
- `CONTAINER_DESIGN.md`를 단순화된 2단계 파이프라인으로 업데이트합니다.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@jk-kim0 jk-kim0 merged commit d6f7a11 into main Feb 11, 2026
7 checks passed
@jk-kim0 jk-kim0 deleted the feat/simplify-convert-pipeline branch February 11, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant