Skip to content

[FIX] docs: add 14.0 + 18.0 method sections to API.rst#3

Closed
dnplkndll wants to merge 1 commit into
masterfrom
docs-api-add-14-18-sections
Closed

[FIX] docs: add 14.0 + 18.0 method sections to API.rst#3
dnplkndll wants to merge 1 commit into
masterfrom
docs-api-add-14-18-sections

Conversation

@dnplkndll

Copy link
Copy Markdown

Fork verification PR for the OCA/openupgradelib docs-staleness fix (supersedes the broken OCA#432).

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. This adds both sections so the next docs build renders convert_html_string_13to14 (14.0) and convert_company_dependent (18.0).

Also fixes an RST indent error in convert_field_html_string_13to14's docstring (missing blank line before the :param list) that sphinx -W surfaces once the 14.0 module is documented.

Source-only — docs/ HTML is regenerated by documentation-commit.yml on push (manually committing it was OCA#432's mistake). Verified locally: sphinx -W builds clean (0 warnings) and both new methods appear in API.html.

Watching: documentation.yml (the build gate), pre-commit, unittests.

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.
@dnplkndll dnplkndll closed this May 30, 2026
@dnplkndll dnplkndll reopened this May 30, 2026
@dnplkndll

Copy link
Copy Markdown
Author

Verified green on the fork; superseded by upstream OCA#453. Branch kept.

@dnplkndll dnplkndll closed this May 30, 2026
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.

1 participant