-
Notifications
You must be signed in to change notification settings - Fork 148
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
[Docs] Add vale ini and styles for docs linting #385
Conversation
for more information, see https://pre-commit.ci
I'm not sure what the problem with the |
Yes, ideally we would only have one folder with those files! How are you using it, how is it invoved? Can we add it to |
At present, I'm just invoking vale from the same folder as As I'm not an engineer and not very well-versed in setting up this kind of tooling, please can I pass this one over to whoever could finish the PR from that perspective? If you want to run across the full docs set, I'll need to put some time in place to read the issues and tweak styles or docs to get things passing. |
Ok I see :) Can you estimate how long the full pass would take? I think if we make this PR the introduction of |
@maxschulz-COL Yes please feel free to commit on this branch and take it on. I think a full pass would be less than a day of tweaking. |
Ok then let's go for that option, I will setup the pre-commit version of it |
@stichbury I think you are good to go - vale can be invoked via So the plan is to fix the existing vale errors, warnings and suggestions, tweak the setting a little, and then have our docs perfectly styled all the way 😎 ? |
@stichbury Please double check if I messed up anything with the |
Thank you, that is all fine! It all looks great, and I'll make a branch from this one to fix up the docs errors and tweak styles to get all building cleanly as we go forward. Thanks for making the changes to get it in the tooling! |
for more information, see https://pre-commit.ci
vizro-core/changelog.d/20240325_170005_jo_stichbury_add_vale_styles.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stichbury - could you click on the checkbox here :D
For context, we reduced this check to only one checkbox at some point but the compromise was that we always have to check that the person raising the PR is checking the checkbox, otherwise it shouldn't be merged 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! But please do consider the three remaining open points before merging:
- changelogs
- necessity of added files compared to e.g. Kedro
- clicking the consensus button
Description
This PR adds the
.vale
files to the/docs
folders ofvizro-core
andvizro-ai
so that I can manually run vale on docs pages as I work on them.At some point I need to work with @l0uden to add this to our CI. We can do this as part of the PR but equally, as long as these files are in place, I can just invoke Vale for now.
Screenshot
Notice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":