[py] Configure readthedocs publishing for Python API docs#15614
[py] Configure readthedocs publishing for Python API docs#15614cgoldberg merged 22 commits intoSeleniumHQ:trunkfrom
Conversation
PR Reviewer Guide 🔍(Review updated until commit f79b87e)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 88deeb7
Previous suggestions✅ Suggestions up to commit adb498d
✅ Suggestions up to commit a45492e
✅ Suggestions up to commit f79b87e
|
|||||||||||||||||||||||||||||||||||||||
Co-authored-by: qodo-merge-pro[bot] <151058649+qodo-merge-pro[bot]@users.noreply.github.com>
User description
💥 What does this PR do?
supersedes #15611
This PR fixes the publishing of the Python API docs at readthedocs.com. This has been broken since Selenium version 4.14.
The docs get published with every commit to selenium trunk (I think). The job is configured at: https://app.readthedocs.org/projects/selenium-python-api-docs (this account is managed by @diemol)
Once the job runs, docs are published to: https://selenium-python-api-docs.readthedocs.io
I tested this configuration from my own account at readthedocs.com pointing to my fork of the selenium repo, and it worked fine.
Note: I don't think the readthedocs job is configured to build Pull Requests, so this won't be triggered until it lands in trunk.
PR Type
Bug fix, Documentation
Description
Updated Read the Docs configuration for Python API documentation.
Moved
.readthedocs.yamltopy/docsdirectory.Enhanced Python API documentation with updated links and structure.
Added support for newer Python versions and updated build tools.
Changes walkthrough 📝
.readthedocs.yaml
Removed outdated Read the Docs configuration..readthedocs.yaml
.readthedocs.yaml
Added updated Read the Docs configuration file.py/docs/.readthedocs.yaml
index.rst
Enhanced Python API documentation content.py/docs/source/index.rst