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

Patch rst get language in docutils #10186

Merged
merged 1 commit into from Mar 20, 2022

Conversation

ultmaster
Copy link
Contributor

@ultmaster ultmaster commented Feb 11, 2022

Subject: Patch rst get language in docutils

Feature or Bugfix

  • Bugfix

Purpose

Patch docutils.parsers.rst.languages.get_language().
Starting from docutils 0.17, get_language() in rst.languages also has a reporter, which needs to be disabled temporarily.

This should also work for old versions of docutils, because reporter is none by default.

Details

I'm not sure whether a test case is necessary.

Relates

@tk0miya tk0miya added this to the 4.5.0 milestone Mar 20, 2022
@tk0miya tk0miya merged commit 7c14437 into sphinx-doc:4.x Mar 20, 2022
@tk0miya
Copy link
Member

tk0miya commented Mar 20, 2022

Thank you for your contribution!

tk0miya added a commit that referenced this pull request Mar 20, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docutils language importer warning
2 participants