Skip to content

Commit 7c61ff4

Browse files
HavenDVclaude
andcommitted
fix: pin pygments<2.20 to fix MkDocs build
pymdown-extensions 10.21 passes filename=None to Pygments 2.20.0 HtmlFormatter, causing 'NoneType' object has no attribute 'replace' error. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 816f25f commit 7c61ff4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: |
4949
python -m venv myenv
5050
source myenv/bin/activate
51-
pip install mkdocs-material
51+
pip install mkdocs-material 'pygments<2.20'
5252
mkdocs build -d ./_site
5353
5454
- name: Upload artifact

0 commit comments

Comments
 (0)