[chore] solution,admin,ontology: 코드 주석을 한 줄로 — 히스토리 주석 삭제
여러 줄 주석이 설명보다 경위(예전·실측·지적)를 적고 있어 읽는 사람이 결론을 찾기 어려웠다. - ts·tsx·js·mjs·css·py 478개: 여러 줄 주석은 첫 문장 한 줄로, 과거형·날짜 문장은 삭제 - 주석 위치는 TypeScript 파서·파이썬 tokenize/ast 로 찾는다 — 문자열 안의 # · /* 는 건드리지 않는다 - eslint·ts·noqa·type: ignore 같은 지시 주석은 그대로 둔다 파이썬 275개 정리 전후 AST 동일, TS 298개 주석 뺀 토큰 동일(빈 JSX 주석 10곳만 차이). site·frontend·admin tsc, site vitest 105 passed Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
c6908629f3
commit
11d30bb3d1
479 files changed
+3337
-13091
No files matched your search
@@ -1,7 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""docs/architecture.html 의 내용을 PPTX 로 다시 만든다.
|
||||
python3 scripts/build-deck.py
|
||||
도식은 이미지가 아니라 네이티브 도형으로 그리므로 PowerPoint 에서 그대로 편집된다."""
|
||||
"""docs/architecture.html 의 내용을 PPTX 로 다시 만든다."""
|
||||
|
||||
from pptx import Presentation
|
||||
from pptx.util import Inches, Pt
|
||||
@@ -10,7 +8,7 @@ from pptx.enum.text import PP_ALIGN, MSO_ANCHOR
|
||||
from pptx.enum.shapes import MSO_SHAPE, MSO_CONNECTOR
|
||||
from pptx.oxml.ns import qn
|
||||
|
||||
# ---------------------------------------------------------------- 팔레트 (HTML 문서와 동일)
|
||||
# --------------------------------------------------------------- 팔레트 (HTML 문서와 동일)
|
||||
INK = RGBColor(0x10, 0x18, 0x19)
|
||||
INK_SOFT = RGBColor(0x3D, 0x4C, 0x4E)
|
||||
MUTED = RGBColor(0x63, 0x75, 0x7A)
|
||||
@@ -32,7 +30,7 @@ W, H = 13.333, 7.5
|
||||
MX = 0.75 # 좌우 여백
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- 저수준 헬퍼
|
||||
# --------------------------------------------------------------- 저수준 헬퍼
|
||||
def _ea(run, name):
|
||||
"""한글이 라틴 폰트로 떨어지지 않도록 동아시아 typeface 를 함께 지정."""
|
||||
rPr = run._r.get_or_add_rPr()
|
||||
@@ -135,7 +133,7 @@ def label(sl, x, y, text, size=9, color=MUTED, font=MONO, align=PP_ALIGN.LEFT, w
|
||||
return textbox(sl, x, y, w, 0.22, [(text, size, False, color, font)], align=align)
|
||||
|
||||
|
||||
# ---------------------------------------------------------------- 슬라이드 골격
|
||||
# --------------------------------------------------------------- 슬라이드 골격
|
||||
prs = Presentation()
|
||||
prs.slide_width = Inches(W)
|
||||
prs.slide_height = Inches(H)
|
||||
|
||||
Reference in new issue
Block a user