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
11 lines
665 B
Python
11 lines
665 B
Python
"""Where things live. Everything is relative to this folder, so the generator runs from any checkout."""
|
|
from pathlib import Path
|
|
|
|
ROOT = Path(__file__).resolve().parent
|
|
STL_SRC = ROOT / 'stl_src' # hand-modelled STL files, plus the three that failed on the printer (test controls)
|
|
ASSETS = ROOT / 'assets' # photos, part renders, share image, kit README
|
|
WORK = ROOT / 'work' # intermediate files; not committed
|
|
OUT = ROOT / 'out' # finished kit before it is published; not committed
|
|
SITE = ROOT.parent / 'greenman' # the published page in the builds site
|
|
for d in (WORK, OUT, OUT / 'stl'): d.mkdir(parents=True, exist_ok=True)
|