Skip to content

Conversation

@fw-bot
Copy link
Collaborator

@fw-bot fw-bot commented Nov 13, 2023

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 containing content/, sphinxlint will try to run content/content/....
  • When running make review, resource files are not being checked with the resource_files.py checker .

Desired behavior:

  • When running make review, if users enter a path containing content/, sphinxlint will try to run content/....
  • When running make review, resource files are checked with the resource_files.py checker .

Forward-Port-Of: #6405

X-original-commit: 25e204a
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
@robodoo
Copy link
Collaborator

robodoo commented Nov 13, 2023

@fw-bot
Copy link
Collaborator Author

fw-bot commented Nov 13, 2023

This PR targets 17.0 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants