mirror of
https://github.com/logos-co/logos-lips.git
synced 2026-08-27 16:21:13 +00:00
## Summary Move/mirror blockchain specs from Notion into GitHub/mdBook ## Changes - Imported missing blockchain raw/deprecated specs, appendices, images, PDFs, notebooks, and local assets. - Replaced remaining Notion-hosted resources/links with local GitHub files where applicable. - Renamed/updated Nomos references to Logos Blockchain terminology. - Deprecated DA-related specs and other specs that are deprecated in Notion. - Fixed Markdown/mdBook/GitHub rendering issues for math, tables, code blocks, captions, Mermaid/SVG diagrams, local links, and navigation. - Added/updated rendering validation so future broken math, raw Notion links, and migration artifacts are caught by lint. - Cleaned markdownlint/remark issues across affected specs. ## Validation - `make lint` - `mdbook build`
39 lines
851 B
Python
39 lines
851 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Run all generators in sequence.
|
|
"""
|
|
from __future__ import annotations
|
|
|
|
import subprocess
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
ROOT = Path(__file__).resolve().parent.parent
|
|
SCRIPTS = [
|
|
"scripts/validate_metadata.py",
|
|
"scripts/validate_rendering.py",
|
|
"scripts/gen_history.py",
|
|
"scripts/gen_rfc_index.py",
|
|
"scripts/gen_summary.py",
|
|
"scripts/validate_generated_outputs.py",
|
|
]
|
|
|
|
|
|
def run(script: str) -> None:
|
|
parts = script.split()
|
|
path = ROOT / parts[0]
|
|
args = parts[1:]
|
|
print(f"[INFO] Running {path} {' '.join(args)}".rstrip())
|
|
result = subprocess.run([sys.executable, str(path), *args], cwd=ROOT)
|
|
if result.returncode != 0:
|
|
raise SystemExit(result.returncode)
|
|
|
|
|
|
def main() -> None:
|
|
for script in SCRIPTS:
|
|
run(script)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|