Implement songs pipeline v1

- render.py: frontmatter validation, h1 strip, pandoc conversion,
  banner/category injection, idempotent MediaWiki writes via mwclient
- requirements.txt: python-frontmatter, mwclient, PyYAML
- template_auto_generated.wikitext: paste into wiki as Template:Auto-generated
- .gitea/workflows/publish-songs.yml: reusable workflow; job container
  python:3.12-slim installs pandoc via apt (no host-level pandoc needed)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-09 16:40:05 +09:00
parent 6d51a3dd2b
commit 7f1bf2f995
4 changed files with 293 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
python-frontmatter>=1.1.0
mwclient>=0.10.1
PyYAML>=6.0