odoo/documentation#6405
Created by Documentation, Samuel Lieber (sali)
Merged
at 25e204adcdb2519d23be6e2ed2e25640bfd0f341
Statuses:
- ci/documentation: (runtime 82s)
- ci/codeowner_coverage: (runtime 7s)
- label
- odoo-dev:14.0-autolint-review-ux-sali
- head
- 06338b01f9bce09859d6febea80df1dc5337564d
- merged
- 2 years ago by Sales, Antoine Vandevenne (anv)
| odoo/documentation | |
|---|---|
| 14.0 | #6405 |
| 15.0 | #6426 |
| saas-15.2 | #6427 |
| 16.0 | #6428 |
| saas-16.1 | #6429 |
| saas-16.2 | #6430 |
| saas-16.3 | #6431 |
| saas-16.4 | #6432 |
| 17.0 | #6433 |
| 18.0 | |
| saas-18.2 | |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| master | #6434 |
[IMP] tests: make review UX and resource files
Original Task: #2801043
This PR improves the user experience of using the make review command by automatically handling whether or not the path contains the root content/ or not, and specifies to the user to input a relative path and not an absolute.
Additionally, this PR also adds the resource_files.py checker into the make review command so that resource files can also be checked locally by the content team.
Current behavior:
- When running
make review, if users enter a path containingcontent/, sphinxlint will try to runcontent/content/.... - When running
make review, resource files are not being checked with theresource_files.pychecker .
Desired behavior:
- When running
make review, if users enter a path containingcontent/, sphinxlint will try to runcontent/.... - When running
make review, resource files are checked with theresource_files.pychecker .