make_rootlist.py: подзаголовок секции — 5 строк (hard-break), каждая метрика отдельной строкой: книг/NEW+xref, RU-издание, EN-оригинал скачан, RU-перевод скачан, Файлов (EN/RU/other)

This commit is contained in:
Dmitry Kokorin 2026-10-01 09:38:45 +03:00
parent a6886652dd
commit aa6bfde7ca
2 changed files with 65 additions and 28 deletions

View file

@ -228,10 +228,11 @@ def main():
ru_dl_s = f"{ru_dl} из {ru_found}" if ru_found else "—"
out.append(f"## {n}. {name}")
out.append("")
out.append(f"_{len(items)} книг{comp}_")
out.append(f"_RU-издание: ✅ {stat['✅']} найдено · 🔶 {stat['🔶']} частично · ❌ {stat['❌']} нет — "
f"EN-оригинал скачан: {en_dl} из {len(new_items)} — RU-перевод скачан: {ru_dl_s} — "
f"файлов: {dfiles_n} (EN {f_en} / RU {f_ru} / other {f_other})_")
out.append(f"{len(items)} книг{comp}\\")
out.append(f"RU-издание: ✅ {stat['✅']} найдено · 🔶 {stat['🔶']} частично · ❌ {stat['❌']} нет\\")
out.append(f"EN-оригинал скачан: {en_dl} из {len(new_items)}\\")
out.append(f"RU-перевод скачан: {ru_dl_s}\\")
out.append(f"Файлов: {dfiles_n} (EN {f_en} / RU {f_ru} / other {f_other})")
out.append("")
out.append("| # | Book | Author | RU edition | Files |")
out.append("|---|------|--------|------------|-------|")