[FIX] docs: add 14.0 + 18.0 method sections to API.rst#453
Merged
Conversation
The published API page stopped at 16.0 even though openupgrade_140.py and openupgrade_180.py exist — docsource/API.rst was missing their automodule directives. Add both sections. Fixes an RST indent error in convert_field_html_string_13to14's docstring (missing blank line before the :param list) that -W surfaced once the 14.0 module is documented. docs/ HTML is regenerated by the documentation-commit workflow on push, so only the source is changed here.
Contributor
Author
pedrobaeza
approved these changes
May 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add the missing 14.0 and 18.0 method sections to
docsource/API.rst. Both modules (openupgrade_140.py,openupgrade_180.py) exist but were never wired into the API docs, so the published page stopped at 16.0.Also
Fixes an RST indentation warning in
convert_field_html_string_13to14's docstring (missing blank line before the:paramlist) thatsphinx -Wsurfaces once the 14.0 module is documented.Source-only —
docs/is regenerated bydocumentation-commit.ymlon push. Verified:sphinx -Wbuilds clean; bothconvert_html_string_13to14andconvert_company_dependentnow render.Supersedes #432.