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

Update to final version of styles lesson template #1033

Merged
merged 51 commits into from
Apr 14, 2023

Conversation

tobyhodges
Copy link
Member

Bringing the lesson template up-to-date in preparation for the planned infrastructure transition.

You do not need to check through the whole diff, but feel free to pull the branch and build the site locally if you would like to. (It built successfully on my system, and I am 99% sure it will do so on GitHub too when merged.)

maxim-belkin and others added 30 commits June 24, 2021 04:33
Fix broken "How to contribute" link
Also, make 'require()' function not fail by default.
The only case where we really need to fail is when 'kramdown' parser is
not specified. This is a highly unlikely scenario, tbh (because
arguments to `lesson_check.py` are set in the Makefile), but we can
think about reworking/optimizing this part later.
lesson_check.py: report check status at the end
util.py: load_yaml: Don't fail when it's not necessary
lesson_check.py: fix error message for the 'defaults' check
lesson_check.py: use proper regex for matching episode files
1. Read `config.yml` file only once and store the contents in a global
   variable `CONFIG`. We're currently reading this file twice.
2. Detect lesson life cycle in `main` instead of making `check_config`
   return it.
3. Replace `using_remote_theme` function with a single test that checks
   that `remote_theme` keyword is present in `_config.yml`
4. CheckEpisode class: `check` method: move "remote theme test" inside the `check_reference_inclusion`.
5. main: mvoe "remote theme test" inside the `read_references`
lesson-check.py: read `config.yml` only once
Port of carpentries/instructor-training@f488d24

Co-authored-by: François Michonneau <francois.michonneau@gmail.com>

Co-authored-by: François Michonneau <francois.michonneau@gmail.com>
Port of carpentries/instructor-training@dc1b52a

Co-authored-by: maneesha sane <maneeshasane@gmail.com>

Co-authored-by: maneesha sane <maneeshasane@gmail.com>
Co-authored-by: Toby Hodges <tbyhdgs@gmail.com>
Printing to paper or PDF via the browser would invoke the @media print CSS query. It is useful to show all solution while doing so
unode and others added 21 commits February 22, 2022 16:43
Workaround to a CSS resize blur rendering problem affecting Google Chrome/Chromium
when the resolution of the image is larger than the image view

See https://stackoverflow.com/a/69156216 and
carpentries-incubator/jekyll-pages-novice#274 for additional context.
I used the conversion for 1px = 0.0625em based on a default 16pt font

This will address part of carpentries/styles#630
add new steps to transition lessons to Workbench
1. The transtion headers will now have a button that can close them
   (though its not permenent)
2. The third step of the transition will no longer be coded into the
   yaml here because the third step of the transition will use the
   workbench version as the default version. This means that no redirect
   will be needed.
3. All transition dates will be specified
4. Language has been updated to not refer to "Jekyll" as it may not be
   immediately obvious that Jekyll was used to build the site.
@tobyhodges tobyhodges added the type:template and tools Issue about template and tools label Apr 14, 2023
@ineelhere ineelhere self-assigned this Apr 14, 2023
@ineelhere ineelhere merged commit f00c9cf into gh-pages Apr 14, 2023
@ineelhere ineelhere deleted the update-styles-final branch April 14, 2023 12:09
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.

9 participants