rsg-theme 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/_boilerplate/404.md +25 -0
- data/_boilerplate/CODE_OF_CONDUCT.md +12 -0
- data/_boilerplate/LICENSE.md +83 -0
- data/_boilerplate/USAGE.md +86 -0
- data/_boilerplate/aio.md +13 -0
- data/_boilerplate/index.md +169 -0
- data/_includes/aio-script.md +25 -0
- data/_includes/all_keypoints.html +31 -0
- data/_includes/base_path.html +41 -0
- data/_includes/carpentries.html +70 -0
- data/_includes/custom-schedule.html +72 -0
- data/_includes/episode_break.html +15 -0
- data/_includes/episode_keypoints.html +18 -0
- data/_includes/episode_navbar.html +44 -0
- data/_includes/episode_overview.html +76 -0
- data/_includes/episode_title.html +9 -0
- data/_includes/favicons.html +27 -0
- data/_includes/gh_variables.html +45 -0
- data/_includes/github-ribbon.html +1 -0
- data/_includes/javascript.html +55 -0
- data/_includes/lesson_footer.html +52 -0
- data/_includes/life_cycle.html +34 -0
- data/_includes/links.md +46 -0
- data/_includes/main_title.html +14 -0
- data/_includes/manual_episode_order.html +116 -0
- data/_includes/navbar.html +113 -0
- data/_includes/rsg/intro.html +15 -0
- data/_includes/rsg/setup.html +6 -0
- data/_includes/rsg/who.html +40 -0
- data/_includes/syllabus.html +126 -0
- data/_includes/warning-curriculum.html +8 -0
- data/_includes/warning-flavor.html +7 -0
- data/_includes/workshop_ad.html +47 -0
- data/_includes/workshop_calendar.html +8 -0
- data/_includes/workshop_footer.html +27 -0
- data/_layouts/base.html +54 -0
- data/_layouts/break.html +10 -0
- data/_layouts/episode.html +11 -0
- data/_layouts/lesson.html +8 -0
- data/_layouts/page.html +7 -0
- data/_layouts/reference.html +6 -0
- data/_layouts/schedule.html +9 -0
- data/_layouts/workshop.html +56 -0
- data/assets/css/bootstrap-theme.css +587 -0
- data/assets/css/bootstrap-theme.css.map +1 -0
- data/assets/css/bootstrap.css +6834 -0
- data/assets/css/bootstrap.css.map +1 -0
- data/assets/css/fonts.css +13 -0
- data/assets/css/katex.min.css +1 -0
- data/assets/css/lesson.scss +417 -0
- data/assets/css/syntax.css +69 -0
- data/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/assets/fonts/glyphicons-halflings-regular.svg +288 -0
- data/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/assets/fonts/ubuntu-v11-latin-regular.eot +0 -0
- data/assets/fonts/ubuntu-v11-latin-regular.svg +363 -0
- data/assets/fonts/ubuntu-v11-latin-regular.ttf +0 -0
- data/assets/fonts/ubuntu-v11-latin-regular.woff +0 -0
- data/assets/fonts/ubuntu-v11-latin-regular.woff2 +0 -0
- data/assets/js/anchor.min.js +9 -0
- data/assets/js/bootstrap.min.js +6 -0
- data/assets/js/jquery.min.js +2 -0
- data/assets/js/jquery.min.map +1 -0
- data/assets/js/katex-auto-render.min.js +1 -0
- data/assets/js/katex.min.js +1 -0
- data/assets/js/lesson.js +56 -0
- data/bin/boilerplate/_extras/figures.md +79 -0
- metadata +154 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: fb980c9a87836cc8a5341a7059cca1f43fd0cec75b44632467883bc6e13e134c
|
|
4
|
+
data.tar.gz: 3657d0f20b58726a4e928458a2a7b7a2402b33951c0bae76a72305ded0197951
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 246656be94b3544a29bb1c34f30f1684e61418f53412b800d267fbeb9ca135342b6f3bfc3637309be715e1bb9ab37e1920c3a5728b73ec2882c9896268576ebc
|
|
7
|
+
data.tar.gz: ca062926d605d6325fc044c437b7d5e5bfe5dea915022cdde6a465cb2d98647472d968015f349c5eab3c3032619b02bc71bcec1c62b525fc434adc7eaf168bff
|
data/_boilerplate/404.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: base
|
|
3
|
+
root: .
|
|
4
|
+
permalink: 404.html
|
|
5
|
+
title: "Page not found"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Oops! We cannot find that page.
|
|
9
|
+
{: style="text-align: center;"}
|
|
10
|
+
|
|
11
|
+
> ## Our apologies!
|
|
12
|
+
>
|
|
13
|
+
> We cannot seem to find the page you are looking for.
|
|
14
|
+
> Try going back to the <a href="javascript:history.back()">previous page</a> or
|
|
15
|
+
> navigate to any other page using the navigation bar above
|
|
16
|
+
> {%- if site.kind == "lesson" -%} or the schedule below {%- endif -%}.
|
|
17
|
+
> If you got here by clicking on a link in the
|
|
18
|
+
> {%- if site.kind == "lesson" -%} lesson {%- else -%} workshop {%- endif -%},
|
|
19
|
+
> please report this link to the
|
|
20
|
+
> {%- if site.kind == "lesson" -%} lesson developers {%- else -%} workshop organizers {%- endif -%}.
|
|
21
|
+
{: .caution}
|
|
22
|
+
|
|
23
|
+
{% if site.kind == "lesson" %}
|
|
24
|
+
{% include syllabus.html %}
|
|
25
|
+
{% endif%}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page
|
|
3
|
+
title: "Contributor Code of Conduct"
|
|
4
|
+
---
|
|
5
|
+
As contributors and maintainers of this project,
|
|
6
|
+
we pledge to follow the [Carpentry Code of Conduct][coc].
|
|
7
|
+
|
|
8
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior
|
|
9
|
+
may be reported by following our [reporting guidelines][coc-reporting].
|
|
10
|
+
|
|
11
|
+
[coc]: https://docs.carpentries.org/topic_folders/policies/code-of-conduct.html
|
|
12
|
+
[coc-reporting]: https://docs.carpentries.org/topic_folders/policies/incident-reporting.html
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: page
|
|
3
|
+
title: "Licenses"
|
|
4
|
+
root: .
|
|
5
|
+
---
|
|
6
|
+
## Instructional Material
|
|
7
|
+
|
|
8
|
+
This instructional material is
|
|
9
|
+
made available under the [Creative Commons Attribution
|
|
10
|
+
license][cc-by-human]. The following is a human-readable summary of
|
|
11
|
+
(and not a substitute for) the [full legal text of the CC BY 4.0
|
|
12
|
+
license][cc-by-legal].
|
|
13
|
+
|
|
14
|
+
You are free:
|
|
15
|
+
|
|
16
|
+
* to **Share** --- copy and redistribute the material in any medium or format
|
|
17
|
+
* to **Adapt** --- remix, transform, and build upon the material
|
|
18
|
+
|
|
19
|
+
for any purpose, even commercially.
|
|
20
|
+
|
|
21
|
+
The licensor cannot revoke these freedoms as long as you follow the
|
|
22
|
+
license terms.
|
|
23
|
+
|
|
24
|
+
Under the following terms:
|
|
25
|
+
|
|
26
|
+
* **Attribution**---You must give appropriate credit by:
|
|
27
|
+
- mentioning that your work is derived from work that is
|
|
28
|
+
Copyright © Software Carpentry, Data Carpentry, Library Carpentry,
|
|
29
|
+
or The Carpentries.
|
|
30
|
+
- where practical, linking to the respective lesson program website
|
|
31
|
+
(https://software-carpentry.org/, https://datacarpentry.org, https://librarycarpentry.org, or
|
|
32
|
+
https://carpentries.org), provide a [link to the license][cc-by-human]
|
|
33
|
+
- and indicate if changes were made. You may do so in any reasonable manner, but not in any way
|
|
34
|
+
that suggests the licensor endorses you or your use.
|
|
35
|
+
|
|
36
|
+
**No additional restrictions** --- You may not apply legal terms or
|
|
37
|
+
technological measures that legally restrict others from doing anything the
|
|
38
|
+
license permits. With the understanding that:
|
|
39
|
+
|
|
40
|
+
* You do not have to comply with the license for elements of the
|
|
41
|
+
material in the public domain or where your use is permitted by an
|
|
42
|
+
applicable exception or limitation.
|
|
43
|
+
* No warranties are given. The license may not give you all of the
|
|
44
|
+
permissions necessary for your intended use. For example, other
|
|
45
|
+
rights such as publicity, privacy, or moral rights may limit how you
|
|
46
|
+
use the material.
|
|
47
|
+
|
|
48
|
+
## Software
|
|
49
|
+
|
|
50
|
+
Except where otherwise noted, the example programs and other software
|
|
51
|
+
provided in this lesson are made available under the
|
|
52
|
+
[OSI][osi]-approved
|
|
53
|
+
[MIT license][mit-license].
|
|
54
|
+
|
|
55
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
56
|
+
a copy of this software and associated documentation files (the
|
|
57
|
+
"Software"), to deal in the Software without restriction, including
|
|
58
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
59
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
60
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
61
|
+
the following conditions:
|
|
62
|
+
|
|
63
|
+
The above copyright notice and this permission notice shall be
|
|
64
|
+
included in all copies or substantial portions of the Software.
|
|
65
|
+
|
|
66
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
67
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
68
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
69
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
70
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
71
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
72
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
73
|
+
|
|
74
|
+
## Trademark
|
|
75
|
+
|
|
76
|
+
"The Carpentries", "Software Carpentry" and "Data Carpentry" and their respective logos are
|
|
77
|
+
registered trademarks of [Community Initiatives][CI].
|
|
78
|
+
|
|
79
|
+
[cc-by-human]: https://creativecommons.org/licenses/by/4.0/
|
|
80
|
+
[cc-by-legal]: https://creativecommons.org/licenses/by/4.0/legalcode
|
|
81
|
+
[mit-license]: https://opensource.org/licenses/mit-license.html
|
|
82
|
+
[ci]: http://communityin.org/
|
|
83
|
+
[osi]: https://opensource.org
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# carpentries-theme
|
|
2
|
+
|
|
3
|
+
This repository provides a remote Jekyll theme for use with The Carpentries.
|
|
4
|
+
|
|
5
|
+
> !!! CAUTION !!!
|
|
6
|
+
>
|
|
7
|
+
> This is *early alpha* work, not yet ready for wider adoption.
|
|
8
|
+
|
|
9
|
+
Many lessons built for The Carpentries carry around the website theme assets
|
|
10
|
+
such as CSS and favicons. These things evolve, but keeping a given lesson
|
|
11
|
+
synchronized with the upstream [styles](https://github.com/carpentries/styles)
|
|
12
|
+
repository, as well as the "best practice"
|
|
13
|
+
[lesson-example](https://github.com/carpentries/lesson-example) repo,
|
|
14
|
+
is laborious and error-prone. This project provides an alternative for those
|
|
15
|
+
who do not need to customize the theme or do not wish to carry the code around
|
|
16
|
+
as part of their repository.
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
The goal is to help you carry around less code, not more. This is accomplished
|
|
21
|
+
using [bundler](https://bundler.io/) and Jekyll remote themes. It is recommended
|
|
22
|
+
that you carry out the process of trimming down on your local machine, in a
|
|
23
|
+
separate branch, so you can easily get back if things don't go to plan:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
$ git checkout -b install_carpentries-theme
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The key step is to edit your `_config.yml` to point to this theme, adding
|
|
30
|
+
|
|
31
|
+
```yml
|
|
32
|
+
remote_theme: carpentries/carpentries-theme
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
to the end. With that done, please feel free to delete the `assets` folder:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
$ git rm -r assets
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
You can also delete *almost* everything from `_includes`, again using `git rm`.
|
|
42
|
+
If you have your own files in `_includes`, please use `git mv` to move them to
|
|
43
|
+
`files` instead, and update links accordingly. Please retain the following
|
|
44
|
+
files, if they exist; otherwise, the lesson will fail to build.
|
|
45
|
+
|
|
46
|
+
- `all_figures.html`
|
|
47
|
+
- `figure.html`
|
|
48
|
+
|
|
49
|
+
Next, please synchronize the following items with the current versions in
|
|
50
|
+
The Carpentries [styles](https://github.com/carpentries/styles) repository
|
|
51
|
+
– retaining your local edits!
|
|
52
|
+
|
|
53
|
+
- Folders
|
|
54
|
+
- `.github/`
|
|
55
|
+
- `bin/`
|
|
56
|
+
|
|
57
|
+
- Files
|
|
58
|
+
- `CODE_OF_CONDUCT.md`
|
|
59
|
+
- `Gemfile`
|
|
60
|
+
- `LICENSE.md`
|
|
61
|
+
- `Makefile`
|
|
62
|
+
- `_config.yml`
|
|
63
|
+
- `.travis.yml`
|
|
64
|
+
- `aio.md`
|
|
65
|
+
|
|
66
|
+
> *Note:* If you have not already configured Travis-CI to test your pull
|
|
67
|
+
> requests and code before deploying, please do so by visiting
|
|
68
|
+
> <https://travis-ci.org/github_user_name/repository_name>.
|
|
69
|
+
|
|
70
|
+
Finally, build your local site using the remote theme.
|
|
71
|
+
|
|
72
|
+
If you have GNU Make installed:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
make serve
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
otherwise,
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
$ bundle install
|
|
82
|
+
$ bundle exec jekyll serve
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Check that everything looks correct, and that Jekyll throws no errors –
|
|
86
|
+
then push your branch and file a pull request!
|
data/_boilerplate/aio.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
permalink: /aio/index.html
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
{% comment %}
|
|
6
|
+
As a maintainer, you do not need to edit this file.
|
|
7
|
+
If you notice that something does not work, please
|
|
8
|
+
open an issue: https://github.com/carpentries/styles/issues/new
|
|
9
|
+
{% endcomment %}
|
|
10
|
+
|
|
11
|
+
{% include base_path.html %}
|
|
12
|
+
|
|
13
|
+
{% include aio-script.md %}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: workshop # DON'T CHANGE THIS.
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<h2 id="general">General Information</h2>
|
|
6
|
+
{% if site.venue == "TBC" %}
|
|
7
|
+
<p>
|
|
8
|
+
<strong> Workshop location TBC </strong>
|
|
9
|
+
</p>
|
|
10
|
+
{% else if site.venue == "online" %}
|
|
11
|
+
<p id="where">
|
|
12
|
+
Online at <a href="{{site.address}}">{{site.platform-name}}</a>.
|
|
13
|
+
If you need a password or other information to access the training,
|
|
14
|
+
the instructor will pass it on to you before the workshop.
|
|
15
|
+
</p>
|
|
16
|
+
{% else %}
|
|
17
|
+
<p id="where">
|
|
18
|
+
<strong>Where:{{site.venue}}</strong>
|
|
19
|
+
<strong>Address:{{site.address}}</strong>
|
|
20
|
+
</p>
|
|
21
|
+
{% endif %}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
{% comment %}
|
|
25
|
+
DATE
|
|
26
|
+
|
|
27
|
+
This block displays the date.
|
|
28
|
+
{% endcomment %}
|
|
29
|
+
{% if site.humandate %}
|
|
30
|
+
<p id="when">
|
|
31
|
+
<strong>When:</strong>
|
|
32
|
+
{{site.humandate}}.
|
|
33
|
+
</p>
|
|
34
|
+
{% endif %}
|
|
35
|
+
|
|
36
|
+
{% comment %}
|
|
37
|
+
SPECIAL REQUIREMENTS
|
|
38
|
+
|
|
39
|
+
Modify the block below if there are any special requirements.
|
|
40
|
+
{% endcomment %}
|
|
41
|
+
<p id="requirements">
|
|
42
|
+
<strong>Requirements:</strong>
|
|
43
|
+
{% if online == "false" %}
|
|
44
|
+
Participants must bring a laptop with a
|
|
45
|
+
Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on.
|
|
46
|
+
{% else %}
|
|
47
|
+
Participants must have access to a computer with a
|
|
48
|
+
Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) that they have administrative privileges on.
|
|
49
|
+
{% endif %}
|
|
50
|
+
They should have a few specific software packages installed (listed <a href="#setup">below</a>).
|
|
51
|
+
</p>
|
|
52
|
+
|
|
53
|
+
{% comment %}
|
|
54
|
+
ACCESSIBILITY
|
|
55
|
+
|
|
56
|
+
Modify the block below if there are any barriers to accessibility or
|
|
57
|
+
special instructions.
|
|
58
|
+
{% endcomment %}
|
|
59
|
+
<p id="accessibility">
|
|
60
|
+
<strong>Accessibility:</strong>
|
|
61
|
+
{% if online == "false" %}
|
|
62
|
+
We are committed to making this workshop
|
|
63
|
+
accessible to everybody. For workshops at a physical location, the workshop organizers have checked that:
|
|
64
|
+
</p>
|
|
65
|
+
<ul>
|
|
66
|
+
<li>The room is wheelchair / scooter accessible.</li>
|
|
67
|
+
<li>Accessible restrooms are available.</li>
|
|
68
|
+
</ul>
|
|
69
|
+
<p>
|
|
70
|
+
Materials will be provided in advance of the workshop and
|
|
71
|
+
large-print handouts are available if needed by notifying the
|
|
72
|
+
organizers in advance. If we can help making learning easier for
|
|
73
|
+
you (e.g. sign-language interpreters, lactation facilities) please
|
|
74
|
+
get in touch (using contact details below) and we will
|
|
75
|
+
attempt to provide them.
|
|
76
|
+
</p>
|
|
77
|
+
{% else %}
|
|
78
|
+
<p>
|
|
79
|
+
We are dedicated to providing a positive and accessible learning environment for all. Please
|
|
80
|
+
notify the instructors in advance of the workshop if you require any accommodations or if there is
|
|
81
|
+
anything we can do to make this workshop more accessible to you.
|
|
82
|
+
</p>
|
|
83
|
+
{% endif %}
|
|
84
|
+
|
|
85
|
+
{% comment %}
|
|
86
|
+
CONTACT EMAIL ADDRESS
|
|
87
|
+
|
|
88
|
+
Display the contact email address set in the configuration file.
|
|
89
|
+
{% endcomment %}
|
|
90
|
+
<p id="contact">
|
|
91
|
+
<strong>Contact:</strong>
|
|
92
|
+
Please email
|
|
93
|
+
{% if site.email %}
|
|
94
|
+
{% for email in site.email %}
|
|
95
|
+
{% if forloop.last and site.email.size > 1 %}
|
|
96
|
+
or
|
|
97
|
+
{% else %}
|
|
98
|
+
{% unless forloop.first %}
|
|
99
|
+
,
|
|
100
|
+
{% endunless %}
|
|
101
|
+
{% endif %}
|
|
102
|
+
<a href='mailto:{{email}}'>{{email}}</a>
|
|
103
|
+
{% endfor %}
|
|
104
|
+
{% else %}
|
|
105
|
+
to-be-announced
|
|
106
|
+
{% endif %}
|
|
107
|
+
for more information.
|
|
108
|
+
</p>
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
<hr/>
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
{% comment %}
|
|
115
|
+
SURVEYS - DO NOT EDIT SURVEY LINKS
|
|
116
|
+
{% endcomment %}
|
|
117
|
+
<h2 id="surveys">Surveys</h2>
|
|
118
|
+
<p>Please be sure to complete these surveys before and after the workshop.</p>
|
|
119
|
+
<p><a href="{{ site.pre_survey }}">Pre-workshop Survey</a></p>
|
|
120
|
+
<p><a href="{{ site.post_survey }}">Post-workshop Survey</a></p>
|
|
121
|
+
<hr/>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
{% comment %}
|
|
125
|
+
SCHEDULE
|
|
126
|
+
This schedule is either used from swc or it is autogenerated by the rsg/schedule
|
|
127
|
+
and pulled from the lessons individually
|
|
128
|
+
{% endcomment %}
|
|
129
|
+
|
|
130
|
+
<h2 id="schedule">Schedule</h2>
|
|
131
|
+
|
|
132
|
+
{% if site.carpentry == "swc" %}
|
|
133
|
+
{% include swc/schedule.html %}
|
|
134
|
+
{% elsif site.carpentry == "rsg" %}
|
|
135
|
+
{% include rsg/schedule.html %}
|
|
136
|
+
{% endif %}
|
|
137
|
+
|
|
138
|
+
<hr/>
|
|
139
|
+
|
|
140
|
+
<h2 id="setup">Setup</h2>
|
|
141
|
+
|
|
142
|
+
<p>
|
|
143
|
+
To participate in
|
|
144
|
+
{% if site.carpentry == "swc" %}
|
|
145
|
+
a Software Carpentry
|
|
146
|
+
{% elsif site.carpentry == "rsg" %}
|
|
147
|
+
this training
|
|
148
|
+
{% endif %}
|
|
149
|
+
workshop,
|
|
150
|
+
you will need access to software as described below.
|
|
151
|
+
In addition, you will need an up-to-date web browser.
|
|
152
|
+
</p>
|
|
153
|
+
<p>
|
|
154
|
+
We maintain a list of common issues that occur during installation as a reference for instructors
|
|
155
|
+
that may be useful on the
|
|
156
|
+
<a href = "{{site.swc_github}}/workshop-template/wiki/Configuration-Problems-and-Solutions">Configuration Problems and Solutions wiki page</a>.
|
|
157
|
+
</p>
|
|
158
|
+
|
|
159
|
+
{% comment %}
|
|
160
|
+
These are the installation instructions for the tools used
|
|
161
|
+
during the workshop.
|
|
162
|
+
If using RSG these are generated from each individual lesson
|
|
163
|
+
{% endcomment %}
|
|
164
|
+
|
|
165
|
+
{% if site.carpentry == "swc" %}
|
|
166
|
+
{% include swc/setup.html %}
|
|
167
|
+
{% elsif site.carpentry == "rsg" %}
|
|
168
|
+
The instructions for all the software can be found <a href = "./setup"> on the setup page.</a>
|
|
169
|
+
{% endif %}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{% comment %}
|
|
2
|
+
As a maintainer, you don't need to edit this file.
|
|
3
|
+
If you notice that something doesn't work, please
|
|
4
|
+
open an issue: https://github.com/carpentries/styles/issues/new
|
|
5
|
+
{% endcomment %}
|
|
6
|
+
|
|
7
|
+
{% include manual_episode_order.html %}
|
|
8
|
+
|
|
9
|
+
{% for lesson_episode in lesson_episodes %}
|
|
10
|
+
|
|
11
|
+
{% if site.episode_order %}
|
|
12
|
+
{% assign e = site.episodes | where: "slug", lesson_episode | first %}
|
|
13
|
+
{% else %}
|
|
14
|
+
{% assign e = lesson_episode %}
|
|
15
|
+
{% endif %}
|
|
16
|
+
|
|
17
|
+
<h1 id="{{ e.title | slugify }}" class="maintitle">{{ e.title }}</h1>
|
|
18
|
+
|
|
19
|
+
{% include episode_overview.html teaching_time=e.teaching exercise_time=e.exercises episode_questions=e.questions episode_objectives=e.objectives %}
|
|
20
|
+
|
|
21
|
+
{{ e.content }}
|
|
22
|
+
|
|
23
|
+
{% include episode_keypoints.html episode_keypoints=e.keypoints %}
|
|
24
|
+
<hr />
|
|
25
|
+
{% endfor %}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{% comment %}
|
|
2
|
+
Display key points of all episodes for reference.
|
|
3
|
+
{% endcomment %}
|
|
4
|
+
|
|
5
|
+
{% include base_path.html %}
|
|
6
|
+
{% include manual_episode_order.html %}
|
|
7
|
+
|
|
8
|
+
<h2>Key Points</h2>
|
|
9
|
+
<table class="table table-striped">
|
|
10
|
+
{% for lesson_episode in lesson_episodes %}
|
|
11
|
+
{% if site.episode_order %}
|
|
12
|
+
{% assign episode = site.episodes | where: "slug", lesson_episode | first %}
|
|
13
|
+
{% else %}
|
|
14
|
+
{% assign episode = lesson_episode %}
|
|
15
|
+
{% endif %}
|
|
16
|
+
{% unless episode.break %}
|
|
17
|
+
<tr>
|
|
18
|
+
<td class="col-md-3">
|
|
19
|
+
<a href="{{ relative_root_path }}{{ episode.url }}">{{ episode.title }}</a>
|
|
20
|
+
</td>
|
|
21
|
+
<td class="col-md-9">
|
|
22
|
+
<ul>
|
|
23
|
+
{% for keypoint in episode.keypoints %}
|
|
24
|
+
<li>{{ keypoint|markdownify }}</li>
|
|
25
|
+
{% endfor %}
|
|
26
|
+
</ul>
|
|
27
|
+
</td>
|
|
28
|
+
</tr>
|
|
29
|
+
{% endunless %}
|
|
30
|
+
{% endfor %}
|
|
31
|
+
</table>
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{%- comment -%}
|
|
2
|
+
When the website is built by GitHub Pages,
|
|
3
|
+
'site.url' is set to 'https://username.github.io'
|
|
4
|
+
'site.baseurl' is set to '/lesson-name'
|
|
5
|
+
|
|
6
|
+
When we start a local server using `jekyll serve`,
|
|
7
|
+
'site.url' is set to 'http://localhost:4000' and
|
|
8
|
+
'site.baseurl' is empty.
|
|
9
|
+
|
|
10
|
+
In both of the above cases we set 'relative_root_path' to 'site.baseurl'.
|
|
11
|
+
|
|
12
|
+
When we build a website locally with `jekyll build`,
|
|
13
|
+
both 'site.url' and 'site.baseurl' are empty.
|
|
14
|
+
This case is handled by the last 'else' in the code below.
|
|
15
|
+
The logic there follows the (adapted) instructions found at:
|
|
16
|
+
https://ricostacruz.com/til/relative-paths-in-jekyll
|
|
17
|
+
|
|
18
|
+
`page.url` gives the URL of the current page with a leading /:
|
|
19
|
+
|
|
20
|
+
- when the URL ends with an extension (e.g., /foo/bar.html),
|
|
21
|
+
we can get the 'depth' of the page by counting the number of
|
|
22
|
+
forward slashes ('/') and subtracting 1
|
|
23
|
+
- when the URL ends with a forward slash (e.g. /foo/bar/),
|
|
24
|
+
we can get the depth of the page by counting the number of /
|
|
25
|
+
{%- endcomment -%}
|
|
26
|
+
|
|
27
|
+
{% if site.url %}
|
|
28
|
+
{% assign relative_root_path = site.baseurl %}
|
|
29
|
+
{% else %}
|
|
30
|
+
{% assign last_char = page.url | slice: -1 %}
|
|
31
|
+
{% if last_char == "/" %}
|
|
32
|
+
{% assign offset = 0 %}
|
|
33
|
+
{% else %}
|
|
34
|
+
{% assign offset = 1 %}
|
|
35
|
+
{% endif %}
|
|
36
|
+
{% assign depth = page.url | split: '/' | size | minus: offset %}
|
|
37
|
+
{% if depth <= 1 %}{% assign relative_root_path = '.' %}
|
|
38
|
+
{% elsif depth == 2 %}{% assign relative_root_path = '..' %}
|
|
39
|
+
{% else %}{% capture relative_root_path %}..{% for i in (3..depth) %}/..{% endfor %}{% endcapture %}
|
|
40
|
+
{% endif %}
|
|
41
|
+
{% endif %}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{% comment %}
|
|
2
|
+
General description of Software, Data, and Library Carpentry.
|
|
3
|
+
{% endcomment %}
|
|
4
|
+
|
|
5
|
+
{% include base_path.html %}
|
|
6
|
+
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-md-2" align="center">
|
|
9
|
+
<a href="{{ site.carpentries_site }}"><img src="{{ relative_root_path }}/assets/img/cp-logo-blue.svg" alt="The Carpentries logo" /></a>
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-md-8">
|
|
12
|
+
<p><a href="{{ site.carpentries_site }}">The Carpentries</a> comprises
|
|
13
|
+
Software Carpentry, Data Carpentry, and Library Carpentry communities of Instructors, Trainers,
|
|
14
|
+
Maintainers, helpers, and supporters who share a mission to teach
|
|
15
|
+
foundational coding and data science skills to researchers and people
|
|
16
|
+
working in library- and information-related roles. In January,
|
|
17
|
+
2018, The Carpentries was formed by the merger of Software Carpentry and
|
|
18
|
+
Data Carpentry. Library Carpentry became an official Carpentries Lesson Program in November 2018.</p>
|
|
19
|
+
|
|
20
|
+
<p>While individual lessons and workshops continue to be run under each
|
|
21
|
+
lesson project, The Carpentries provide overall staffing and governance, as
|
|
22
|
+
well as support for assessment, instructor training and mentoring.
|
|
23
|
+
Memberships are joint, and the Carpentries project maintains a shared Code
|
|
24
|
+
of Conduct. The Carpentries is a fiscally sponsored project of Community
|
|
25
|
+
Initiatives, a registered 501(c)3 non-profit based in California, USA.</p>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="row">
|
|
29
|
+
<div class="col-md-2" align="center">
|
|
30
|
+
<a href="{{ site.swc_site }}"><img src="{{ relative_root_path }}/assets/img/swc-icon-blue.svg" alt="Software Carpentry logo" /></a>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="col-md-8">
|
|
33
|
+
<p>Since 1998, <a href="{{ site.swc_site }}">Software Carpentry</a> has
|
|
34
|
+
been teaching researchers across all disciplines the foundational coding
|
|
35
|
+
skills they need to get more done in less time and with less pain. Its
|
|
36
|
+
volunteer instructors have run hundreds of events for thousands of learners
|
|
37
|
+
around the world. Now that all research involves some degree of
|
|
38
|
+
computational work, whether with big data, cloud computing, or simple task
|
|
39
|
+
automation, these skills are needed more than ever.</p>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<br/>
|
|
43
|
+
<div class="row">
|
|
44
|
+
<div class="col-md-2" align="center">
|
|
45
|
+
<a href="{{ site.dc_site }}"><img src="{{ relative_root_path }}/assets/img/dc-icon-black.svg" alt="Data Carpentry logo" /></a>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="col-md-8">
|
|
48
|
+
<p><a href="{{ site.dc_site }}">Data Carpentry</a> develops and teaches
|
|
49
|
+
workshops on the fundamental data skills needed to conduct research. Its
|
|
50
|
+
target audience is researchers who have little to no prior computational
|
|
51
|
+
experience, and its lessons are domain specific, building on learners'
|
|
52
|
+
existing knowledge to enable them to quickly apply skills learned to their
|
|
53
|
+
own research. Data Carpentry workshops take researchers through the entire
|
|
54
|
+
data life cycle.</p>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
<br/>
|
|
58
|
+
<div class="row">
|
|
59
|
+
<div class="col-md-2" align="center">
|
|
60
|
+
<a href="{{ site.lc_site }}"><img src="{{ relative_root_path }}/assets/img/lc-icon-black.png" alt="Library Carpentry logo" /></a>
|
|
61
|
+
</div>
|
|
62
|
+
<div class="col-md-8">
|
|
63
|
+
<p><a href="{{ site.lc_site }}">Library Carpentry</a> develops lessons and
|
|
64
|
+
teaches workshops for and with people working in library- and
|
|
65
|
+
information-related roles. Its goal is to create an on-ramp to empower this
|
|
66
|
+
community to use software and data in their own work, as well as be
|
|
67
|
+
advocates for and train others in efficient, effective and reproducible data
|
|
68
|
+
and software practices.</p>
|
|
69
|
+
</div>
|
|
70
|
+
</div>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<div class="row"> <!-- first two days -->
|
|
2
|
+
<div class="col-md-6"> <!-- left column -->
|
|
3
|
+
<h3>Day 1</h3>
|
|
4
|
+
<table class="table table-striped">
|
|
5
|
+
<tr> <!-- row 1 -->
|
|
6
|
+
<td>Before starting</td>
|
|
7
|
+
<td><a href="{{ site.pre_survey }}{{ site.github.project_title }}" target="_blank">Pre-workshop survey</a></td>
|
|
8
|
+
</tr>
|
|
9
|
+
<tr> <!-- row 2 -->
|
|
10
|
+
<td></td> <!-- time -->
|
|
11
|
+
<td></td> <!-- content -->
|
|
12
|
+
</tr>
|
|
13
|
+
<tr> <!-- row 3 -->
|
|
14
|
+
<td></td> <!-- time -->
|
|
15
|
+
<td></td> <!-- content -->
|
|
16
|
+
</tr>
|
|
17
|
+
</table>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-md-6"> <!-- right column -->
|
|
20
|
+
<h3>Day 2</h3>
|
|
21
|
+
<table class="table table-striped">
|
|
22
|
+
<tr> <!-- row 1 -->
|
|
23
|
+
<td></td> <!-- time -->
|
|
24
|
+
<td></td> <!-- content -->
|
|
25
|
+
</tr>
|
|
26
|
+
<tr> <!-- row 2 -->
|
|
27
|
+
<td></td> <!-- time -->
|
|
28
|
+
<td></td> <!-- content -->
|
|
29
|
+
</tr>
|
|
30
|
+
<tr> <!-- row 3 -->
|
|
31
|
+
<td></td> <!-- time -->
|
|
32
|
+
<td></td> <!-- content -->
|
|
33
|
+
</tr>
|
|
34
|
+
</table>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="row"> <!-- days 3 and 4 -->
|
|
38
|
+
<div class="col-md-6"> <!-- left column -->
|
|
39
|
+
<h3>Day 3</h3>
|
|
40
|
+
<table class="table table-striped">
|
|
41
|
+
<tr> <!-- row 1 -->
|
|
42
|
+
<td></td> <!-- time -->
|
|
43
|
+
<td></td> <!-- content -->
|
|
44
|
+
</tr>
|
|
45
|
+
<tr> <!-- row 2 -->
|
|
46
|
+
<td></td> <!-- time -->
|
|
47
|
+
<td></td> <!-- content -->
|
|
48
|
+
</tr>
|
|
49
|
+
<tr> <!-- row 3 -->
|
|
50
|
+
<td></td> <!-- time -->
|
|
51
|
+
<td></td> <!-- content -->
|
|
52
|
+
</tr>
|
|
53
|
+
</table>
|
|
54
|
+
</div>
|
|
55
|
+
<div class="col-md-6"> <!-- right column -->
|
|
56
|
+
<h3>Day 4</h3>
|
|
57
|
+
<table class="table table-striped">
|
|
58
|
+
<tr> <!-- row 1 -->
|
|
59
|
+
<td></td> <!-- time -->
|
|
60
|
+
<td></td> <!-- content -->
|
|
61
|
+
</tr>
|
|
62
|
+
<tr> <!-- row 2 -->
|
|
63
|
+
<td></td> <!-- time -->
|
|
64
|
+
<td></td> <!-- content -->
|
|
65
|
+
</tr>
|
|
66
|
+
<tr> <!-- row 3 -->
|
|
67
|
+
<td>End</td>
|
|
68
|
+
<td><a href="{{ site.post_survey }}{{ site.github.project_title }}" target="_blank">Post-workshop survey</a></td>
|
|
69
|
+
</tr>
|
|
70
|
+
</table>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{% comment %}
|
|
2
|
+
Display a break's timings in a box similar to a learning episode's.
|
|
3
|
+
{% endcomment %}
|
|
4
|
+
<blockquote class="objectives">
|
|
5
|
+
<h2>Overview</h2>
|
|
6
|
+
|
|
7
|
+
<div class="row">
|
|
8
|
+
<div class="col-md-3">
|
|
9
|
+
<strong>Break:</strong> {{ page.break }} min
|
|
10
|
+
</div>
|
|
11
|
+
<div class="col-md-9">
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
</blockquote>
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{% comment %}
|
|
2
|
+
Display key points for an episode.
|
|
3
|
+
{% endcomment %}
|
|
4
|
+
|
|
5
|
+
{% if page.keypoints == nil %}
|
|
6
|
+
{% assign episode_keypoints = include.episode_keypoints %}
|
|
7
|
+
{% else %}
|
|
8
|
+
{% assign episode_keypoints = page.keypoints %}
|
|
9
|
+
{% endif %}
|
|
10
|
+
|
|
11
|
+
<blockquote class="keypoints">
|
|
12
|
+
<h2>Key Points</h2>
|
|
13
|
+
<ul>
|
|
14
|
+
{% for keypoint in episode_keypoints %}
|
|
15
|
+
<li>{{ keypoint|markdownify }}</li>
|
|
16
|
+
{% endfor %}
|
|
17
|
+
</ul>
|
|
18
|
+
</blockquote>
|