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

style sync up/May 15 2021 #932

Merged

Conversation

maxim-belkin
Copy link
Contributor

  • removing contractions from CONTRIBUTING (removing contractions from CONTRIBUTING carpentries/styles#512)
  • add image-with-shadow class
  • _config.yml: mention Carpentries Incubator
  • Matlab -> MATLAB
  • set CRAN url if default is "@cran@"
  • Fix Ruby style
  • accept any base filename for Rmd episodes
  • run R-based lessons in forks
  • add control structure
  • 404 page for better learner experience
  • lesson.scss: wildcard selectors for code blocks
  • Ignore .jekyll-metatada
  • Speed up builds of R-based lessons
  • No need for User Agent string
  • permissive checks for pre-alpha lessons
  • bin/lesson_check.py: allow 'language-*' code blocks (allow code blocks with any language- class carpentries/styles#532)
  • bin/lesson_check.py: allow 'caution' blockquote
  • avoid ansi color characters from being printed
  • deploy from "website" action
  • deploy R-based lessons without using another action
  • also delete _site
  • include @zkamvar suggestions
  • pin ubuntu version to 20.04 (pin ubuntu version to 20.04 carpentries/styles#540)
  • GitHub Actions: cache required R packages (GitHub Actions: cache required R packages carpentries/styles#534)
  • add missing parenthesis
  • Add incubator option for carpentry field. (Add incubator option for carpentry field. carpentries/styles#542)
  • .editorconfig: don't trim trailing spaces in markdown
  • lesson.scss: HTML block
  • add patch to clean gh-pages before committing (add patch to clean gh-pages before committing carpentries/styles#545)
  • Fix Kramdown parser crash
  • bin/util.py: Change ruby executable to "bundle exec ruby"
  • Change link colours (Change link colours carpentries/styles#549)
  • bin/workshop_check.py: update default contact email address
  • Gemfile: add 'webrick' dependency for Ruby 3.0.0 and above
  • lesson_check.py allow for missing life_cycle
  • update with Maxim's suggestion
  • Add catch for None type code block in lesson_check
  • fix syntax
  • Makefile: fix 'bundle config' command flags
  • Makefile: clean target: remove .vendor, .bundle, Gemfile.lock
  • Makefile: silence Docker commands
  • use Ruby's official GH Actions
  • Makefile: use SHELL to call bin/knit_lesson.sh
  • Makefile: fix up PHONY targets
  • Fix GitHub actions for lessons in Rmarkdown
  • apply single shadow to image class
  • use grey shadow instead of transparent black
  • expand image-with-shadow selection
  • Makefile: don't fail when Python isn't found
  • bin/dependencies.R: handle 'no packages were specified' error
  • Don't check links.md in lessons that use remote theme
  • add link references to code_of_conduct.md (add link references to code_of_conduct.md carpentries/styles#572)
  • Update links.md
  • add source_dir argument
  • Improved relative_root_path
  • update contributing guide
  • add further languages for box titles (add further languages for box titles carpentries/styles#580)
  • bin/lesson_check.py: allow comments and empty lines in links.md
  • bin/lesson_check.py: one more fix for using_remote_theme()
  • Template workflow: add two more lessons
  • add make lesson-check-all step
  • Set working directory for the 'make site' step
  • Template workflow: smarter syncing with the styles repo
  • Apply Zhian's suggestions
  • add math support with katex (add math support with katex carpentries/styles#573)
  • bin/util.py: remove unused 'IMAGE_FILE_SUFFIX' var (bin/util.py: remove unused 'IMAGE_FILE_SUFFIX' var carpentries/styles#590)
  • bin/lesson_check.py: use proper function
  • bin/lesson_check.py: allow exceptions to line length limit
  • lesson_check.py: harden single-line image/link pattern
  • lesson_check.py: relax P_LINK_IMAGE_LINE pattern
  • Don't force hostname into relative_root_path
  • CONTRIBUTING.md: sync up with the upstream version
  • _config.yml: sync up with the upstream version

ChristinaLK and others added 30 commits November 2, 2020 05:14
R-based lessons might take a while to build because packages need to be compiled from source. RStudio Package Manager has compiled versions of packages for ubuntu distros starting with 16.04: https://packagemanager.rstudio.com/client/#/repos/1/overview

I've added the necessary magic in the actions yaml to make it work.
bin/lesson_check.py: allow 'caution' blockquote
Co-authored-by: Zhian N. Kamvar <[email protected]>
zkamvar and others added 27 commits April 20, 2021 09:36
bin/lesson_check.py: one more fix for using_remote_theme()
…sons

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
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
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
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
Don't force hostname into relative_root_path
@maxim-belkin maxim-belkin added the type:template and tools Issue about template and tools label May 15, 2021
@maxim-belkin maxim-belkin merged commit 4f31efa into swcarpentry:gh-pages May 15, 2021
@maxim-belkin maxim-belkin deleted the style-sync-up/May-15-2021 branch May 15, 2021 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:template and tools Issue about template and tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.