Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force doc style check with Vale before building the doc #218

Merged
merged 3 commits into from
Dec 14, 2022

Conversation

PProfizi
Copy link
Contributor

@PProfizi PProfizi commented Dec 14, 2022

Vale had been integrated to the repository but only within a manually triggerable workflow.
This PR calls this workflow in the regular CI as a check step before building the documentation.
https://vale.sh/docs/vale-cli/overview/

Install Vale on Windows using choco (also explains how to install chocolatey):
https://docsy-site.netlify.app/docs/vale/install-vale/
Also install Sphinx using choco (required to treat .rst files):
choco install sphinx
Edit: does not seem to work in all cases, local usage TBD

How to integrate it to PyCharm as a tool to run before commiting:
https://vale.sh/docs/integrations/jetbrains/

@PProfizi PProfizi added the CI/CD label Dec 14, 2022
@PProfizi PProfizi self-assigned this Dec 14, 2022
@codecov
Copy link

codecov bot commented Dec 14, 2022

Codecov Report

Merging #218 (4c0f8ff) into master (3f89cfe) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #218   +/-   ##
=======================================
  Coverage   83.64%   83.64%           
=======================================
  Files          25       25           
  Lines        1351     1351           
=======================================
  Hits         1130     1130           
  Misses        221      221           

Copy link
Member

@PipKat PipKat left a comment

Choose a reason for hiding this comment

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

The changes look good to me.

Copy link
Contributor

@GuillemBarroso GuillemBarroso left a comment

Choose a reason for hiding this comment

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

LGTM!

@PProfizi PProfizi merged commit 7ac4955 into master Dec 14, 2022
@PProfizi PProfizi deleted the ci/integrate_vale branch December 14, 2022 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants