Upgrade Python version in Read the Docs configuration
ProprietaryUpdate build.tools.python in Read the Docs configuration files (.readthedocs.yaml, .readthedocs.yml, readthedocs.yaml, and readthedocs.yml) to a target version. Only MAJOR.MINOR values older than the target are changed; aliases such as 3 and latest and conda distributions such as miniforge3-latest are left as-is. A target newer than Read the Docs supports is capped at Python 3.14, because an unknown build.tools.python fails the docs build.
org. openrewrite. python. migrate. UpgradePythonReadTheDocsConfigRequired
The target Python version as MAJOR.MINOR (for example 3.12). Any patch component is dropped; the minor release is the upgrade target.
mod run . --recipe= org. openrewrite. python. migrate. UpgradePythonReadTheDocsConfig \
-P version=3.12Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.