-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
bin/lesson_check.py: allow comments and empty lines in links.md #582
bin/lesson_check.py: allow comments and empty lines in links.md #582
Conversation
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.
Looks good.
Just for cross-checking, and following the inconsistent behavior observed in #581 (comment), it might be good if you could try, as time permit, editing the links.md
in this repository and seeing if the issue is reproducible or whether it was a glitch.
Also, if it happens to be reproducible, it might be good to add checks for other Markdown-syntax comments.
Thanks for the effort.
Failing on (single-line) HTML comments: |
Thanks for the update and effort @maxim-belkin 💯. Yesterday I run the checks on the https://github.com/carpentries-incubator/SDC-BIDS-dMRI carpentries incubator repository locally multiple times and no failures were reported concerning the But please go ahead and merge if you are convinced that the issue I opened is still relevant and that this addresses it. Maybe you will want to consider other Markdown-allowed comment mark-ups. |
This check is skipped for the lessons that use remote theme (and your lesson uses one) assuming that these lessons use the Lines 118 to 119 in 2abba21
Perhaps instead of skipping this check for such lessons, we should check if the lesson provides the file and test it. I see |
Sounds reasonable. However, following your advice we split the
Thanks for letting us know. I have inspected the file, and it does not contain any lesson-specific changes, so I'd dare to say that it was downloaded when sync'ing with the upstream Thanks for the effort. |
@zkamvar @fmichonneau, do you have any questions or concerns? |
Thanks for approving, @fmichonneau! |
Fixes #581
@jhlegarreta, this PR should allow empty lines and single-line HTML comments in
links.md