-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
STYLE: Bump style changes #154
Conversation
bin/lesson_check.py: one more fix for using_remote_theme()
Template workflow: add two more lessons
Current syncing procedure that used in the Template workflow fails for: 1. Lessons that are, in fact, nsync with the styles repo. 2. For lessons that use The Carpentries' remote theme and have deleted some of the files. This PR makes this step a little bit more intelligent and takes into account the above two scenarios.
Co-authored-by: Zhian N. Kamvar <[email protected]>
Template workflow: smarter syncing with the styles repo
It should've been removed in 7e835fd.
bin/lesson_check.py: allow comments and empty lines in links.md Fixes carpentries/styles#581
bin/lesson_check.py: use proper function
Allow lines that contain a single image or a single link to go over the suggested line length limit.
bin/lesson_check.py: allow exceptions to line length limit Fixes carpentries/styles#591
Deploy preview for carpentries-dmri ready! Built with commit 5c8cb2d |
This change hardens the pattern that matches single-line image or link: 1. It extends the pattern to be matched in a heading 2. It allows the line to contain {: ...} customizations 3. It allows the line to end with \
lesson_check.py: harden single-line image/link pattern Fixes carpentries/styles#591
Thanks @jhlegarreta! Before merging, I just want to confirm whether the |
Thanks for caring about those. Also, it is not ready to be merged yet, see carpentries/styles#597 |
This PR allows up to 3 non-word (`\W` in Python's `re`-speak) characters in the beginning and end of the pattern that matches links and images. This is to allow lesson developers place punctuation marks, parentheses, or other symbols before or after the link or image on the same line in Markdown.
lesson_check.py: relax P_LINK_IMAGE_LINE pattern
@josephmje please comment about the above folders when you have the information. If those files are to be excluded, maybe the relevant Carpentries repositories/materials should explicitly tell about it. |
I got some clarification from @zkamvar in the Carpentries slack. I'll post his comments below: Michael: Zhian: The maintenance chain right now is styles -> carpentries-theme -> incubator-theme Michael: Zhian: |
For this lesson, since we are using the We should also remove any existing files we have in those folders and only keep |
Remove non-custom files dwelling in upstream `carpentries-theme`.
@josephmje done in 5c8cb2d . |
Bump style changes.