Skip to content

Fix Docutils deprecation warning#31

Merged
ab295382 merged 2 commits into
mainfrom
bugfix/30/docutils-deprecation-warnings
Oct 1, 2025
Merged

Fix Docutils deprecation warning#31
ab295382 merged 2 commits into
mainfrom
bugfix/30/docutils-deprecation-warnings

Conversation

@gchqdev227

Copy link
Copy Markdown
Member

Fixes #30.

This PR only does a couple of things:

  1. Replace calls to docutils.nodes.Element.set_class with direct append to docutils.nodes.Element["classes"] as per deprecation warning.
  2. Added -Werror flag to "Build Documentation" CI to more quickly address these warnings in future.

Suggest we squash on merge.

@gchqdev227 gchqdev227 self-assigned this Oct 1, 2025
@gchqdev227 gchqdev227 requested a review from ab295382 October 1, 2025 09:52
@ab295382 ab295382 merged commit 11b9828 into main Oct 1, 2025
9 checks passed
@ab295382 ab295382 deleted the bugfix/30/docutils-deprecation-warnings branch October 1, 2025 10:00
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.

Fix Docutils Deprecation Warnings

2 participants