MkDocs CI Build Fails, Locally It Works: The Pygments 2.19 NoneType Trap
Everything was green for months. One new folder added, one push made — and CI started crashing with AttributeError: 'NoneType' object has no attribute 'replace'. Local builds: perfectly fine. GitHub Actions: dead.
This is the full root cause analysis and fix.