Add the Green Man generator and restyle its page to match the index
greenman-src/ holds the kit source; uv run build.py there rewrites greenman/. deploy skips *-src/. The page now uses the index's ink, bone and gold with the same serif, and no longer loads web fonts. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GrX9qMoNihcWLX3xoJhabw
This commit is contained in:
1 parent
a7c04e5cb7
commit
9c3c361858
59 files changed
+1640
-41
No files matched your search
@@ -0,0 +1,11 @@
|
||||
"""Run audit.py quietly and return its problems, for build.py. Run audit.py itself to read the full walk-through."""
|
||||
import contextlib, io, importlib
|
||||
|
||||
def run():
|
||||
buf = io.StringIO()
|
||||
with contextlib.redirect_stdout(buf):
|
||||
import audit, manifest
|
||||
importlib.reload(audit)
|
||||
probs = list(audit.problems) + list(manifest.validate(verbose=False))
|
||||
print(f'audit: {len(probs)} problems')
|
||||
return probs
|
||||
Reference in new issue
Block a user