Skip to content

update styles 2022 02 15#144

Merged
jyssy merged 283 commits intogh-pagesfrom
update-styles-2022-02-15
Mar 18, 2022
Merged

update styles 2022 02 15#144
jyssy merged 283 commits intogh-pagesfrom
update-styles-2022-02-15

Conversation

@zkamvar
Copy link
Copy Markdown
Contributor

@zkamvar zkamvar commented Feb 15, 2022

This brings updates from https://github.com/carpentries/styles from the last
three years. I had to fix a couple of conflicts, but they weren't major.

This will fix #143 by including anchors.

raynamharris and others added 30 commits July 6, 2018 11:40
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 28 commits July 3, 2021 09:40
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
…2-15

Conflicts:
	.gitignore
	Gemfile
	Makefile
	aio.md
@jyssy jyssy merged commit 55aa14d into gh-pages Mar 18, 2022
@jyssy jyssy deleted the update-styles-2022-02-15 branch March 18, 2022 12:53
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.

Need jump lists (anchors) for headings