Uh oh!
There was an error while loading. Please reload this page.
chore: Add Markdownlint checking and CI - #541
Conversation
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
nschonni
commented
Oct 15, 2020
@chiedo I noticed you changed all the action version to shas. Is that something that I need to do, or would that happen if this is accepted afterwards? |
chiedo
commented
Oct 15, 2020
👋🏿 @nschonni thanks for this PR! Yes the sha changes will automatically apply. They should be present once you click the "Update branch" button. We're running a little behind on things but we'll review this soon! |
nschonni
commented
Oct 15, 2020
@chiedo no worries, I see you have a bunch of hacktoberfest spam to deal with right now 😆 I hit the update, but since this is proposing a new Action file, I figured it might need some manual intervention |
chiedo
commented
Oct 15, 2020
Got it! We'll take a look. |
@chiedo aha, figured it out based on the CI failure. I copied the values from the |
nschonni
left a comment
There was a problem hiding this comment.
Rebased. If reviewing with the whitespace diff off, I commented on the only text change on the English doc that required changes in the translated docs because the table format issue there got mangled in the translation parser
Uh oh!
There was an error while loading. Please reload this page.
chiedo
commented
Oct 19, 2020
@rachmari / @janiceilene would you be willing to take this one over? This would impact the writers much more heavily than engineering. From an engineering perspective, the change I would suggest is that the |
nschonni
commented
Oct 19, 2020
@chiedo I can ignore the |
chiedo
commented
Oct 20, 2020
Thanks @nschonni ! I understand why you'd suggest that. But changes in the |
nschonni
commented
Oct 20, 2020
@chiedo yup, I get not wanting to take PRs directly on the content because Crowdin overwrites this (I was involved in setting it up for Node.js), but checking the content coming from Crowdin makes sure the content isn't malformed when it comes back from there. The original parsing issue that made me need to modify the MD files in this PR has been fixed upstream, so if a release comes out there soon, I'll pull out those content changes to a new PR. I'm thinking that this should be split into 2 jobs with 2 different path filters to handle the translations separately though. That way the second translations-only job could fail/be ignored while the translations are addressed in Crowdin, and not show a failure on other MD changes |
nschonni
commented
Oct 20, 2020
@chiedo OK, split the job so there is different filtering based off of the translated vs. regular content. This way you can catch if Crowdin pushes broken markdown, but those failures won't show up on PRs for non-translated content |
nschonni
commented
Oct 20, 2020
I can also rebase out the translated file changes, but the second job will crash till they are addressed |
chiedo
commented
Oct 20, 2020
Got it thanks! We'll wait and see what @janiceilene and the writers think. This one will be their call as it would affect their workflows. |
0b21a3f to
8d3098aComparenschonni
commented
Oct 21, 2020
@janiceilene a new version of the Markdownlint library was release to address the parsing issue I ran into with the nested code fences, so I've rebased out those commits. The content changes are still over in #675, so this PR can just concentrate on the CI/CLI addition |
janiceilene
commented
Oct 23, 2020
Thanks so much @nschonni! We're a little backed up right now, but we'll take a look at this as soon as we can 💛 |
Why:
Linting the markdown will ensure that common rendering issues are caught and that the files are consistently formatted.
What's being changed:
Check off the following: