- Fix dark mode figure caption bug (@astroDimitrios #145)
- Fix CSS styling issues with the Resources section and squashed overview headings(@froggleston #147)
- Replace old macOS runs-on action property with ubuntu-latest (@froggleston #147)
- Add config.yaml configuration option
analytics
to support inclusion of the Carpentries Matomo web analytics tracking script, a user-supplied tracking script a la Google, or no option to turn off tracking (reported: @fiveop carpentries#37, implemented @froggleston) - Add a dark mode so users can switch between text and background colours (implemented: @astroDimitrios carpentries#124)
- The lesson page footer now supports either a CITATION or CITATION.cff file (reported: @tobyhodges, implemented: @tobyhodges, #122; @froggleston, carpentries/sandpaper#572)
- Add support for tabbed content in lessons (reported: @astroDimitrios, implemented: @astroDimitrios, @froggleston, carpentries#121, carpentries/sandpaper#571, carpentries/pegboard#148 ).
- Replace the problematic search box with a much simpler and functional solution of taking the user to the All in One page where they can search using the browser's native search (Ctrl-F) (reported: @anenadic carpentries/workbench#8, implemented: @erinbecker #131 ).
- Font sizes for headings of overview box, callouts, and accordions now use relative units instead of pixels. This will cause a slight change in the appearance of these headings, but they will be more consistent as the size of the window changes.
We are bumping the major version number with this release because this version
of {varnish} now requires a new set of translate
variables to be passed (which
are provided by sandpaper >= 0.16.0). If these variables do not exist, the
template will contain no navigation text.
This breaking change is a concious decision. The alternative for this was to conditinally include translations and fall back to their hard-coded English text when they did not exist. This may seem like a more reasonable choice, but it can lead to upstream bugs that are difficult to detect (if translations are not working, it's not clear what is the cause if the text is in English: is it coming from {varnish} or is it coming from {sandpaper}?) and it makes maintenance of these navigational elements more difficult because we would have to update them in two places.
- Translation of lesson elements is now incorporated. Translation strings within
the HTML templates can be found be searching for the word
translate
. All variables are assumed to exist and are defined in The Workbench as PascalCase variables. In order for this version of {varnish} to work, it requires {sandpaper} version 0.16.0 or greater. This is a breaking change (reported: @zkamvar, #104; implemented: @zkamvar and @joelnitta, #105) - Buttons to show/hide the sidebar and solutions now have extra data attributes that are used for the language used by the button when they are toggled. This is an improvement over hard-coding the phrases inside of the JavaScript.
- Overview box heading font sizes now scaled based on viewport size. This fixes issues where the heading would wrap in an ugly fashion. (reported: @jd-foster, #83, @drmownickles, carpentries/workbench#57, @rbavery, carpentries/workbench#64, @robadob, #111; fixed: @froggleston, #109, @robadob, #112).
- Spacing and alignment of text improved in Software Carpentry logo. (reported: @tobyhodges, #107; fixed @tobyhodges, #110).
- Lesson title collision with search box resolved. (reported: @ocasia, #84; fixed @robadob, #113).
Added @joelnitta as a contributor. Added @robadob as a contributor.
- life cycle icons are now displayed as badges for better visibility
- lessons that are stable with peer-reviewed doi releases will now have a doi badge displayed with a link to the publication.
- Code blocks in narrative no longer have a white background on top of the grey background of the code block (fixed: @zkamvar, #103).
- The colour of the inline code has been changed from the bootstrap default to black (fixed: @zkamvar, #103).
- Provide an improved contrast to inline code within callout blocks by setting the background-color to #FFFFFF (reported: @sarahmbrown, carpentries/workbench#76 (#99); fixed @froggleston, #100)
- Back and forward navigation titles have been fixed to keep raw content and not escape characters (reported: @tobyhodges, carpentries/workbench#71 (#98); fixed @froggleston, #101)
- Lesson titles no longer escape ampersands (reported and fixed: @Robadob, #95)
- Lesson overview pages are now supported (reported: @zkamvar, carpentries/workbench#65; implemented: @zkamvar, #87). These overview pages do not have a sidebar and have extra navigation back to home and the setup page in the menu bar.
- new 'overview' template is implemented to always contain links back to the home page.
- The
spoiler
dropdown item has been implemented to allow authors to create stand-alone accordions that will hide optinal content from users without using asolution
class (implemented: @tobyhodges, #92)
- The build process for css/js bundles is now self-contained in the node
dev dependencies. Running
npm install
will install everything needed to re-compile the js and css. - The README has been updated with instructions to build locally
- An
.editorconfig
file has been added to ensure the JS content is indented properly
- Non-math elements on the same line will no longer be treated as math (reported: @marklcrowe, #88; fixed: @zkamvar, #90)
- Bold italic text will now render correctly (reported: @marklcrowe, #89; fixed: @zkamvar, #91)
- The margin below the schedule table in instructor view is now 25px instead of 225px (reported: @bencomp, #81; fixed: @bencomp, #82).
- font weight for anything in definition terms is now inherited.
- The Carpentries Lab logo has been updated (reported: @tobyhodges, #59; fixed: @tobyhodges, #76)
- The size for large logos are now capped at 64px so contributors do not need to force their logos to a particular size when exporting SVG (fixed: @zkamvar, #76)
- Workbench Beta Phase
Edit on GitHub
links no longer redirect people to the beta phase intermediate page during the second stage of the beta phase.
- Table display CSS is set to
table
as opposed toblock
, thus ensuring it is represented correctly in the accessibility tree (see https://developer.mozilla.org/en-US/docs/Web/CSS/display#tables). (fixed: @zkamvar, #74) - Table headings are now bold to easily distinguish from table contents.
- Collapsing the sidebar no longer results in extra room at the bottom of the page.
- Table formatting has been fixed to no longer include 100px padding in the first row (reported: @marklcrowe, #72; fixed: @zkamvar, 4385602)
- All tables will now be striped for accessibility
- Formatted print media to avoid breaking in important contexts (code blocks, callout blocks, instructor notes) and shows solutions and instructor notes. (reported: Anonymous, #70; fixed: @zkamvar, #71)
- Fix issue with bullet points in callouts being mis-aligned (reported: @sstevens2, #68; fixed: @zkamvar, #69)
- temporarily turn off matomo analytics
- Workbench Beta phase "Edit on GitHub" links are now formatted correctly. (reported: @zkamvar, #65; fixed @zkamvar, #66)
- Lessons in different phases of the workbench beta phase will now have the URLs redirect to a site that explains the purpose of the phase.
- For lessons that use
workbench-beta: true
, the feedback URL has changed from https://github.com/carpentries/workbench/discussions/ to https://carpentries.typeform.com/to/KRBl4IZM, so that we can get more specific feedback.
- Workbench Beta messaging has been modified to be more visible and to link back to the original lesson if possible.
- The icon for lessons in "alpha" has been updated so it has a yellow background with a grey glyph so that the icon shows up better.
- Callout block titles have been improved: The underline height for titles have
been fixed to not look wonky when titles have multiple lines (reported:
@anenadic, #53; fixed @zkamvar, #55). Moreover, the text transformation will
no longer affect
code
andkbd
elements. - Heading element sizes have been recoded to use relative units. There was not enough specification in the original CSS to properly distinguish between H3 and H4 elements; moreover, on tablet and mobile devices, the H1 heading looked smallter than the H2 heading due to a copy/paste error. This has been fixed by using relative calcualtions (@zkamvar, #55)
- Sidebar navigation now says "Episodes" instead of "Expand" when collapsed so that it is less confusing for folks. (suggested by @drmowinckels, carpentries/workbench#16 (#47); fixed by @zkamvar, #56)
- The collapsed sidebar label no longer reverts to saying "collapse" on a new page.
- The hamburger menu for mobile devices now has a border so it's more clear that it is a menu (suggested by @drmowinckels, carpentries/workbench#16 (#47); fixed by @zkamvar, #57)
- Add support for displaying anchor links (requested @fiveop, carpentries/sandpaper#285 and @anenadic, carpentries/workbench#28; added: #54 by @zkamvar)
- Formatting of list elements in the solutions and instructor notes now follows the same formatting as the rest of the content (reported: #51 by @tobyhodges, fixed: #52 by @zkamvar)
- The sidebar navigation in mobile and tablet views now includes all the information that was included in the navigation bar for the desktop mode. (reported: carpentries/workbench#16 (comment) by @Athanasiamo and #49, fixed: #50 by @zkamvar)
- The sidebar state (expanded or collapsed) will now persist during navigation
to another page in the same window/tab. Opening the site in a new window/tab
will reset the sidebar state to expanded. (reported: #43 by @anenadic, fixed
#46, @zkamvar). This fix uses the
sessionStorage
API.
- CHAPTERS has been temporarily renamed to EPISODES to reduce cognative load between the webpage and the source folders
- The search field has been disabled to avoid confusion. We have not yet enabled search as this requires further testing. Disabling the search field means that it is now more clear that search is not yet available. (#44 by @zkamvar)
- indicators for lesson development stage (pre-alpha, alpha, beta) have been
added as
<abbr>
elements with a link to the appropriate section in the CDH andtitle
elements that describe the purpose of the stage. Visually hidden text follows the<abbr>
element for users who can not perceive the lesson visually (#39 by @zkamvar, reviewed by @tobyhodges). - FIX: .lesson-title and .lesson-title-md are now inline-block elements
- An alert for the workbench beta phase is implemented if the lesson has
workbench-beta: true
in theconfig.yaml
.
- dropdown navigation no longer is hidden by the sidebar on XXL screens;
z-index of
nav.bottom-nav
set to 3. (reported: #35 by @brownsarahm, fixed: #36 by @zkamvar)
- blockquotes are now more clearly delineated from the rest of the content (reported: #27 by @fiveop, fixed: #31 by @zkamvar)
- lab and incubator logos are now available.
- Fix missing pegboard version tag
- custom workbench engines are now properly linked in the footer via the
sandpaper_cfg
pegboard_cfg
, andvarnish_cfg
variables. - code of conduct link now points to the
CODE_OF_CONDUCT.md
file so authors can update or modify their own code of conduct (NOTE: all Carpentries lessons MUST have a code of conduct that links to the Carpentries Code of Conduct as well as the reporting guidelines.
- compile the changes from 0.1.6
- Tables now scroll on overflow
- The index page now has specific sections for schedule and setup that link to
the
#schedule
and#setup
anchors. This partially addresses carpentries/sandpaper#260
- Removed " logo" suffix from the logo elements, as it is redundant https://webaim.org/techniques/alttext/#logos
- Add small version of the carpentries logo
- Add matmo analytics in the footer (@fmichonneau, #17)
- Add LICENSE file clarifying MIT licensing
- Breaking change; moving from the carpentries/styles theme to the new theme developed in 2021. Variables and layouts have changed significantly, so this package gains a significant update.
- instructor block placeholder added
- update css to use em and not px
- align logo with navbar
- add testing phase notification to navbar
- First tracked version of varnish
- updated links to engines in the footer