Skip to content

chore(sync): 🔨 synced file(s) with rostools/r3-theme #118

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ repos:
- id: end-of-file-fixer

- repo: https://github.com/commitizen-tools/commitizen
rev: v4.6.0
rev: v4.7.0
hooks:
- id: commitizen

Expand Down
35 changes: 35 additions & 0 deletions _extensions/rostools/r3-theme/_brand.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
meta:
name:
full: rostools
link:
github: https://github.com/rostools

typography:
fonts:
- family: quattrocento sans
source: "bunny"
- family: outfit
source: "bunny"
- family: source code pro
source: "bunny"
base:
family: quattrocento sans
size: 18px
headings:
family: outfit
weight: 400
monospace: source code pro

defaults:
bootstrap:
defaults:
mermaid-edge-color: "gray"
rules: |
.slide-deck {
border: 3px solid #203C6E;
width: 100%;
height: 425px;
}
kbd {
padding: .15rem .15rem;
}
8 changes: 6 additions & 2 deletions _extensions/rostools/r3-theme/_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ contributes:
code-overflow: scroll
from: markdown+emoji
theme:
- brand
- yeti
- custom-site.scss

revealjs:
embed-resources: true
Expand All @@ -40,8 +40,10 @@ contributes:
navbar:
logo: "favicon-white.ico"
logo-alt: "Graphic of a capital R with a 3 as a superscript."
search: true
pinned: true
search:
location: navbar
type: textbox
favicon: "favicon.ico"
repo-branch: main
repo-actions: [edit, issue, source]
Expand All @@ -57,3 +59,5 @@ contributes:
opts_chunk:
R.options:
width: 72

brand: _brand.yml
24 changes: 0 additions & 24 deletions _extensions/rostools/r3-theme/custom-site.scss

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ organizers, teachers, or helpers may take any action they deem
appropriate, including warning the offender or expulsion from the
workshop.

Thank you for helping make this a welcoming, friendly event for all
Thank you for helping make this a welcoming, friendly workshop for all
:smile:

::: {.callout-note appearance="default"}
Expand Down
15 changes: 7 additions & 8 deletions _extensions/rostools/r3-theme/includes/reading-website.qmd
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
We will explain this a bit during the lessons, but read this to start
learning how the website is structured and how to read certain things.
Specifically, there are a few "syntax" type formatting of the text in
this website to be aware of:
We try to be consistent with the way to present certain information in
this website. Specifically, there are a few "syntax" type formatting of
the text to know about:

- Folder names always end with `/`, for example `data/` means the
data folder.
- File names always end with their file extension, for example `content.md`
means the file is a Markdown file.
- Folder names always end with `/`, for example `data/` means the data
folder.
- File names always end with their file extension, for example
`content.md` means the file is a Markdown file.