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

20210909 styles upgrade #569

Merged
merged 382 commits into from
Sep 10, 2021
Merged

20210909 styles upgrade #569

merged 382 commits into from
Sep 10, 2021

Conversation

fmichonneau
Copy link
Contributor

it looks like the template for this lesson hasn't been updated in a while and it contains an older version of jQuery that is known to have some security vulnerabilities. This PR brings the latest version of the lesson template.

katrinleinweber and others added 30 commits April 18, 2019 09:41
display it only if both `page.title` and `site.title` are defined.
Pull Request: carpentries/styles#406

* change all-in-one file to have the same 'depth' as episode files

* move the core script of aio.md into _includes/aio-script.md

* include comment to inform maintainers to not edit the file

* move aio.md to the root of styles repository
Co-authored-by: stamper <tbyhdgs@gmail.com>
HTML comments end up in the generated HTML pages: they're not displayed by the browsers but they're still present there. Liquid comments do not end up in the generated HTML pages
maxim-belkin and others added 27 commits May 20, 2021 13:49
lesson.scss: define 'inline' class for images
Automatically add deep anchor links using AnchorJS
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>
@souravsingh
Copy link
Contributor

LGTM

@souravsingh souravsingh merged commit b952d85 into gh-pages Sep 10, 2021
@souravsingh souravsingh deleted the 20210909-styles-upgrade branch September 10, 2021 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.