Skip to content

Conversation

@samueljlieber
Copy link
Contributor

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 .

@samueljlieber samueljlieber self-assigned this Nov 10, 2023
@robodoo
Copy link
Collaborator

robodoo commented Nov 10, 2023

@C3POdoo C3POdoo requested a review from a team November 10, 2023 17:47
Co-authored-by: Antoine Vandevenne (anv) <[email protected]>
@samueljlieber samueljlieber force-pushed the 14.0-autolint-review-ux-sali branch from 1e71b70 to 06338b0 Compare November 13, 2023 14:25
@samueljlieber
Copy link
Contributor Author

Thanks for your review and suggestions @AntoineVDV 🙂 I implemented them in 06338b0. I did end up removing $(SOURCE_DIR)/services.

Copy link
Collaborator

@AntoineVDV AntoineVDV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

4 participants