Skip to content

Commit 8a9d8ae

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 c011b90 commit 8a9d8ae

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
@@ -49,7 +49,7 @@ jobs:
4949
run: |
5050
python -m venv myenv
5151
source myenv/bin/activate
52-
pip install mkdocs-material
52+
pip install mkdocs-material 'pygments<2.20'
5353
mkdocs build -d ./_site
5454
5555
- name: Upload artifact

0 commit comments

Comments
 (0)