Skip to content

Fix Build Docs workflow: update pymdown-extensions to >=9.0#2

Merged
pwwang merged 2 commits intomasterfrom
copilot/fix-build-docs-workflow
Jan 16, 2026
Merged

Fix Build Docs workflow: update pymdown-extensions to >=9.0#2
pwwang merged 2 commits intomasterfrom
copilot/fix-build-docs-workflow

Conversation

Copy link
Contributor

Copilot AI commented Jan 16, 2026

The Build Docs workflow fails with KeyError: 'anchor_linenums' because pymdown-extensions==8.2 (pinned in 2021) doesn't support this option. The option was added in version 9.0.

Changes

Updated docs/requirements.txt:

  • pymdown-extensions>=9.0 (was ==8.2)
  • mkdocs-material>=8.0.0 (was ==7.2.3)
  • jinja2>=3.0.3 (was ==3.0.3)

The mkdocs.yml configuration remains unchanged - it was already correct:

markdown_extensions:
  - pymdownx.highlight:
      anchor_linenums: true

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • facelessuser.github.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Fix the latest "Build Docs" workflow in Github Actions


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: pwwang <1188067+pwwang@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix latest build docs workflow in Github Actions Fix Build Docs workflow: update pymdown-extensions to >=9.0 Jan 16, 2026
Copilot AI requested a review from pwwang January 16, 2026 16:58
@pwwang pwwang marked this pull request as ready for review January 16, 2026 17:01
@pwwang pwwang merged commit 8216c76 into master Jan 16, 2026
15 checks passed
@pwwang pwwang deleted the copilot/fix-build-docs-workflow branch January 16, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants