Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix signature of docutils include_source monkeypatch #11610

Merged
merged 2 commits into from Aug 17, 2023

Conversation

ksunden
Copy link
Contributor

@ksunden ksunden commented Aug 17, 2023

The docutils insert_input method's second argument is called 'source', not 'path'

Feature or Bugfix

  • Bugfix

Purpose

The monkeypatching of docutils broke the matplotlib plot directive, which calls insert_input and passes the source parameter by name.
This PR simply matches the signature of the monkeypatch to that of the upstream method such that calling methods are not affected.

Relates

The docutils method's second argument is called 'source', not 'path'
@AA-Turner AA-Turner merged commit b38d185 into sphinx-doc:master Aug 17, 2023
27 checks passed
@AA-Turner
Copy link
Member

This will be in 7.2.2

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants