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

Upgrade style 9.5.3 #52

Open
wants to merge 309 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
309 commits
Select commit Hold shift + click to select a range
accf26a
Add current year to copyright of workshop footer
jcoliver Jan 10, 2018
0b6b1b4
Merge pull request #205 from rgaiacs/gh-pages
rgaiacs Feb 14, 2018
a1707b0
Fix broken link for Contact
rgaiacs Feb 15, 2018
56a763d
Merge pull request #206 from rgaiacs/gh-pages
rgaiacs Feb 15, 2018
d128191
Requested changes
andrewsanchez Feb 15, 2018
d29296b
Merge pull request #209 from rgaiacs/gh-pages
rgaiacs Feb 16, 2018
34b0d39
Fix issue with CSS
rgaiacs Feb 19, 2018
e0ade11
Merge pull request #203 from swcarpentry/fix-svg
rgaiacs Feb 19, 2018
ecc2efa
Remove out-of-date CoC language
ErinBecker Feb 27, 2018
8f9e76c
Merge pull request #213 from ErinBecker/update-coc
rgaiacs Feb 28, 2018
e4dd616
Link DOIs to preferred resolver
katrinleinweber Mar 3, 2018
bbf3bd9
Merge pull request #214 from katrinleinweber/resolve-DOIs-securely
rgaiacs Mar 5, 2018
ad4cd67
Fix source of typo #646
katrinleinweber Mar 19, 2018
10bce82
Merge pull request #219 from katrinleinweber/patch-2
rgaiacs Mar 19, 2018
cd798b9
Add swc-releases to _includes/links
rgaiacs Mar 22, 2018
91a6d2a
Update Trademark
rgaiacs Mar 22, 2018
ae4a693
Improve language on CONTRIBUTING file
rgaiacs Mar 22, 2018
d46a578
don't break words in code
fmichonneau Apr 4, 2018
1182f75
check hex color using lowercase
fmichonneau Apr 9, 2018
fd9e75e
update github labels
fmichonneau Apr 9, 2018
0e3a431
Merge pull request #224 from fmichonneau/update-gh-labels
rgaiacs Apr 11, 2018
e611262
use CRAN canonical addresses for packages
fmichonneau Apr 11, 2018
1b7639d
Merge pull request #223 from fmichonneau/no-hyphens-code
rgaiacs Apr 11, 2018
2df359c
Updating to handbook as canonical source for CoC
jduckles Apr 13, 2018
8c6a1a7
Merge pull request #225 from swcarpentry/jduck-coc
rgaiacs Apr 13, 2018
e7f98a6
fix github meta data
fmichonneau Apr 17, 2018
1205026
Merge pull request #227 from fmichonneau/fix-gh-metadata
rgaiacs Apr 17, 2018
26ccd8c
Secure hyperlinks
katrinleinweber Mar 18, 2018
3ed2866
Resort hyperlinks alphabetically
katrinleinweber Mar 18, 2018
0d0f943
Reflect merger
katrinleinweber Mar 18, 2018
bf65236
Convert CRAN links to preferred, canonical form
katrinleinweber Mar 18, 2018
f55a015
Merge pull request #228 from rgaiacs/gh-pages
rgaiacs Apr 17, 2018
51293be
links.md: remove duplicate line
maxim-belkin Apr 19, 2018
f82fed8
bin/util.py: fix error handling for Python 2
maxim-belkin Apr 19, 2018
782d6cb
Merge pull request #230 from maxim-belkin/fix-links
rgaiacs Apr 20, 2018
e9acce2
Merge pull request #231 from maxim-belkin/fix-util
rgaiacs Apr 20, 2018
93eb566
convert to py3.4 syntax, a few cleanups
mr-c Apr 20, 2018
079bbc2
Merge pull request #234 from mr-c/py34
rgaiacs May 8, 2018
1c0faba
Fix Copyright information
rgaiacs May 8, 2018
95a6248
Fix favicon
dpshelio May 8, 2018
84fcd6c
Merge pull request #240 from rgaiacs/favicon
rgaiacs May 8, 2018
667c691
Clean footer HTML
rgaiacs May 8, 2018
9ccbb18
Merge pull request #241 from rgaiacs/clean-footer
rgaiacs May 8, 2018
30f8cd1
Add note about the version of the style
rgaiacs May 8, 2018
7ccdf49
add docker-serve make target for #238
alee May 8, 2018
672022e
Fix search
rgaiacs May 11, 2018
6f0df1d
Merge pull request #247 from rgaiacs/styles-246
rgaiacs May 11, 2018
3aff0b2
Merge branch 'gh-pages' into 237
rgaiacs May 13, 2018
a700bde
Merge pull request #239 from rgaiacs/237
rgaiacs May 13, 2018
54fbb57
Merge branch 'gh-pages' into add-version-to-footer
rgaiacs May 13, 2018
caa6e0b
Merge pull request #242 from rgaiacs/add-version-to-footer
rgaiacs May 13, 2018
9eff7ab
add favicons for all flavors
fmichonneau May 15, 2018
ce5073e
rename cc to cp for carpentries
fmichonneau May 15, 2018
f550f8b
add html for favicons
fmichonneau May 15, 2018
bfec005
fix logos and add Carpentries as an option
fmichonneau May 15, 2018
661069d
fix/add logos and icons for navbar
fmichonneau May 15, 2018
b490ea4
add cp as option in footers
fmichonneau May 15, 2018
1faa3eb
use favicons for workshop page
fmichonneau May 15, 2018
9a55cba
remove unused .ico in root folder
fmichonneau May 15, 2018
bc8a996
change alt text for Carpentries logo
fmichonneau May 16, 2018
d0022dc
remove unneeded files
fmichonneau May 16, 2018
f30cc4e
Merge pull request #250 from fmichonneau/favicons
rgaiacs May 16, 2018
d5837c7
Fix links in LICENSE
remram44 May 17, 2018
7ca21f5
Merge pull request #252 from remram44/patch-1
rgaiacs May 17, 2018
51a86ac
Exit with a status of 1 if something was wrong
maxim-belkin May 17, 2018
a2c7c54
New 'permissive' flag for lesson-check
maxim-belkin May 17, 2018
2e6d3c6
Use --permissive flag with lesson-check-all
maxim-belkin May 17, 2018
8cdca1d
Merge pull request #253 from maxim-belkin/error-out
rgaiacs May 17, 2018
ea6c22b
lesson_check: switch to argparse
maxim-belkin May 18, 2018
601ad2f
lesson_check: get_val is a static method
maxim-belkin May 18, 2018
5e079a9
Python3-style inits
maxim-belkin May 18, 2018
2dd5fce
lesson_check: add missing docstring
maxim-belkin May 18, 2018
d73ae1c
Merge pull request #255 from maxim-belkin/use-argparse
rgaiacs May 18, 2018
7fdc6f8
Merge pull request #258 from maxim-belkin/add-docstring
rgaiacs May 18, 2018
b32734f
Merge pull request #257 from maxim-belkin/py3-inits
rgaiacs May 18, 2018
61416e0
repo_check: use argparse and remove unused variable
maxim-belkin May 18, 2018
3d9748e
Merge pull request #256 from maxim-belkin/static-get-val
rgaiacs May 18, 2018
40c41b0
Merge pull request #259 from maxim-belkin/fix-repocheck
rgaiacs May 18, 2018
f507875
Move boilerplate files to their own file
rgaiacs May 18, 2018
de20813
Merge pull request #260 from rgaiacs/shutil
rgaiacs May 18, 2018
aa98c3f
Fix line wrap after dash in code block
rgaiacs May 18, 2018
1e7efe2
Merge pull request #261 from rgaiacs/249
rgaiacs May 18, 2018
18b36ec
Add README to bin/lesson_initialize.py
abought May 18, 2018
ac0a549
Merge pull request #262 from rgaiacs/248
rgaiacs May 18, 2018
20bc579
Fix font size of h2 in call out box
rgaiacs May 18, 2018
11774e3
Merge pull request #263 from rgaiacs/244
rgaiacs May 18, 2018
ec50ea0
lesson_check: fix create_checker function
maxim-belkin May 20, 2018
2ba1381
utils.py: simplify report function
maxim-belkin May 20, 2018
50a8525
Merge pull request #266 from maxim-belkin/simple-report
rgaiacs May 21, 2018
feb54ba
Merge pull request #265 from maxim-belkin/not-implmntd
rgaiacs May 21, 2018
485e4ba
missing comma in boilerplate generation
jsta May 21, 2018
894d47f
Merge pull request #267 from jsta/patch-2
rgaiacs May 21, 2018
1d64dbb
Remove unnecessary super call
maxim-belkin May 22, 2018
dd1fce0
util.py: make functions return NotImplemented
maxim-belkin May 22, 2018
199a809
Use Python3-style class declaration
maxim-belkin May 22, 2018
961f24a
Merge pull request #268 from maxim-belkin/fix-returns
rgaiacs May 23, 2018
6d7a9d7
Merge pull request #270 from maxim-belkin/py3-classes
rgaiacs May 23, 2018
434abbe
Merge pull request #269 from maxim-belkin/fix-super-call
rgaiacs May 23, 2018
3ccc406
Remove root and layout from YAML for boilerplate
rgaiacs May 23, 2018
8e1b106
Merge pull request #272 from rgaiacs/remove-root-and-layout
rgaiacs May 23, 2018
ee84f54
Improve .travis.yml to build the lesson
rgaiacs May 23, 2018
9126d2c
Merge pull request #275 from rgaiacs/travis-build
rgaiacs May 23, 2018
57f2069
Make Jekyll ignore .Rproj
rgaiacs May 23, 2018
0802ec9
Merge pull request #276 from rgaiacs/274
rgaiacs May 23, 2018
149e18f
Change shebang to Python3
rgaiacs May 23, 2018
9f4023a
Merge pull request #277 from rgaiacs/bin-python3
rgaiacs May 23, 2018
c0be5cc
Update Makefile
rgaiacs May 23, 2018
8f9af3d
Run lesson-fixme from within lesson-check
maxim-belkin May 23, 2018
4a85f2c
Merge pull request #278 from maxim-belkin/fix264
rgaiacs May 24, 2018
f8f4cff
Fix lesson_check.py
rgaiacs May 24, 2018
c001ec8
Merge pull request #279 from rgaiacs/lesson-check
rgaiacs May 24, 2018
2a7326f
Increase version to v9.5.0
rgaiacs May 24, 2018
5d78abc
Upgrade repo's Community Profile
katrinleinweber May 27, 2018
0e0f2bf
Merge pull request #280 from katrinleinweber/patch-3
rgaiacs May 27, 2018
986a6be
remove permalink that breaks asset includes
mr-c May 30, 2018
f03403b
_config.yml: no 'mailto' in 'email'
mr-c May 30, 2018
4352fbc
fix typos and add clarifying text to boilerplate
Jun 1, 2018
23596e7
Merge pull request #1 from swcarpentry/gh-pages
Jun 1, 2018
5d9e943
Add links.md to files in boilerplate
maxim-belkin Jun 1, 2018
73683e4
Remove extra blank lines
maxim-belkin Jun 1, 2018
8249bf6
Add several FIXMEs to the template episode
maxim-belkin Jun 1, 2018
2f61821
gitIgnore for R
Jun 1, 2018
546ffa6
Merge pull request #286 from mzc9/gitIgnoreChanges
rgaiacs Jun 2, 2018
999ce61
Merge pull request #282 from mr-c/patch-1
rgaiacs Jun 2, 2018
396a399
Remove CODE_OF_CONDUCT.md
maxim-belkin Jun 1, 2018
add555b
Add CODE_OF_CONDUCT.md to boilerplate
maxim-belkin Jun 5, 2018
b488e64
Merge pull request #285 from maxim-belkin/fix-conduct
rgaiacs Jun 6, 2018
6099b78
Merge pull request #243 from alee/docker
fmichonneau Jun 11, 2018
2a938b0
Merge pull request #284 from maxim-belkin/fix-links-md
rgaiacs Jun 12, 2018
305f7b4
update URLs to reflect consolidation to carpentries organization
fmichonneau Jun 12, 2018
90df6d3
Merge pull request #295 from carpentries/update-urls
fmichonneau Jun 12, 2018
e650b89
fix URL
fmichonneau Jun 12, 2018
1223100
[fix carpentries/styles#281] add missing include links.md
fmichonneau Jun 15, 2018
bb9b1d3
Add 'cp' (Carpentry) as a new lesson type
fmichonneau Jun 15, 2018
13802da
bump version in footer
fmichonneau Jun 15, 2018
67513ef
Merge branch 'gh-pages' of github.com:carpentries/styles into gh-pages
fmichonneau Jun 18, 2018
ba909cc
switch contact email to [email protected]
fmichonneau Jun 19, 2018
4755a6d
[fix carpentries/styles#300] add CODE_OF_CONDUCT.md to root
fmichonneau Jun 19, 2018
0ff9a92
bump version number
fmichonneau Jun 19, 2018
e8b4a1c
Link to lessons (closes swcarpentry/r-novice-inflammation/#371)
katrinleinweber Jun 20, 2018
05ee737
Sort alphabetically
katrinleinweber Jun 20, 2018
2b8a946
Merge pull request #303 from katrinleinweber/patch-3
rgaiacs Jun 20, 2018
d2b83c8
lesson_check.py: check YAML headers in Rmd episodes
fmichonneau Jun 20, 2018
d39ad80
Update Library Carpentry link, resolve #304
trk9001 Jun 23, 2018
450a6fc
_config.yml: fix link to the Library Carpentry website
maxim-belkin Jun 23, 2018
95f65b8
[fix carpentries/styles#311] update descriptions of the carpentries
fmichonneau Jun 27, 2018
cb60e6b
added about the discussion stage to the LC description
tracykteal Jun 27, 2018
a3831d1
Merge pull request #317 from carpentries/fix-311
Jun 28, 2018
4661f9a
Merge branch 'gh-pages' into tracykteal-patch-1
fmichonneau Jun 28, 2018
13a537a
Merge pull request #318 from carpentries/tracykteal-patch-1
fmichonneau Jun 28, 2018
bcc090d
center images
fmichonneau Jul 3, 2018
cb2346e
use 20px margin
fmichonneau Jul 3, 2018
09d9cce
restrict to article
fmichonneau Jul 3, 2018
80d6638
space out callout elements better
fmichonneau Jul 3, 2018
4aa8830
fix survey link variables
fmichonneau Jul 12, 2018
e11668d
Merge pull request #328 from carpentries/fix-survey
rgaiacs Jul 12, 2018
b01dd22
Makefile: fix typo in clean-rmd rule
maxim-belkin Jul 17, 2018
3588009
Merge pull request #333 from maxim-belkin/fix-makefile
rgaiacs Jul 18, 2018
4248451
add LC survey links
fmichonneau Jul 20, 2018
e23c816
[fix #332] add instructor training survey links
fmichonneau Jul 20, 2018
886bfbe
Merge pull request #334 from carpentries/add-surveys
fmichonneau Jul 20, 2018
c6b6129
Fix lesson_initialize.py to initialize new lessons
rgaiacs Aug 3, 2018
445392e
Merge pull request #338 from rgaiacs/336
rgaiacs Aug 3, 2018
56c5047
added workshop calendar
tracykteal Aug 6, 2018
7e86166
avoid warnings and errors around github metadata for local rendering
fmichonneau Aug 14, 2018
b84e6ac
use site.github.url only in production
fmichonneau Aug 14, 2018
a5f5097
Merge pull request #326 from carpentries/callout-margins
rgaiacs Aug 15, 2018
fa9d79a
Merge pull request #340 from tracykteal/calendar
rgaiacs Aug 15, 2018
887f484
Fix footer and copyright notice
rgaiacs Aug 15, 2018
5e4ca8b
lesson.scss: center images
maxim-belkin Aug 20, 2018
37404b3
add lesson life cycle stage indicator
fmichonneau Aug 21, 2018
d209595
upgrade version number
fmichonneau Aug 21, 2018
ebc4230
add missing <article> tags
fmichonneau Aug 21, 2018
79bf7ad
.editorconfig: code style guidelines for text editors
katrinleinweber Aug 21, 2018
ec89982
only knit rmd files to md if they have changed
jsta Jul 1, 2018
5ab6d5b
update test checking src and dest are provided
fmichonneau Aug 21, 2018
05c23b2
change shell parameter to "$@"
fmichonneau Aug 21, 2018
9af9525
Adjust spacing of headers
maxim-belkin Aug 22, 2018
e08eb05
Set left/right margins to 0
maxim-belkin Aug 22, 2018
df03039
figures.md: fixes and improvements
maxim-belkin Aug 22, 2018
c9fe2d8
make figures a little larger and higher definition
fmichonneau Aug 22, 2018
39ed62b
Replace page.root (#310)
fmichonneau Aug 23, 2018
4f98e2a
Clone images instead of creating new ones
maxim-belkin Aug 22, 2018
6592b2e
fix variable names
fmichonneau Aug 23, 2018
52d301e
use requirements package to find lesson dependencies
fmichonneau Aug 23, 2018
d498f87
make sure relative_root_path is in scope in the episode navbar
fmichonneau Aug 23, 2018
ab7c1c4
make relative_base_path available to syllabus
fmichonneau Aug 23, 2018
034e978
Merge pull request #345 from maxim-belkin/margin0
rgaiacs Aug 24, 2018
3a82dee
include base_path where needed
fmichonneau Aug 24, 2018
2c90f2b
Reflect Apple's rebranding
katrinleinweber Aug 27, 2018
5c34d89
install remotes instead of failing if package not available
fmichonneau Aug 29, 2018
4100934
use quietly to avoid spurrious warnings
fmichonneau Aug 29, 2018
71ace0f
spelling corrections using en_US dictionary
tkphd Aug 29, 2018
feeb525
use github metadata to identify branch to use when editing files
fmichonneau Aug 24, 2018
d32a598
refactor to avoid errors when rendering locally
fmichonneau Aug 27, 2018
1ce8540
edit comment
fmichonneau Sep 11, 2018
48b6ab3
Merge branch 'gh-pages' into gh-pages
brownsarahm Sep 24, 2018
a9553db
Remove gh-variables from links.md
maxim-belkin Oct 2, 2018
52f53e0
Fix https://github.com/carpentries/workshop-template/issues/540
sdruskat Oct 10, 2018
1f3c60f
Merge pull request #359 from sdruskat/gh-pages
rgaiacs Oct 10, 2018
f40a947
Nudge contributors to specify episodes unambigously
katrinleinweber Nov 14, 2018
c40e552
aio.md: fix indentation and variable declaration
maxim-belkin Nov 29, 2018
a8fde65
Merge pull request #366 from katrinleinweber/patch-3
ErinBecker Nov 29, 2018
9242afd
Merge pull request #368 from maxim-belkin/aio-fixes
rgaiacs Nov 29, 2018
e67e9ab
links.md: Update link to Library Carpentry lessons
Dec 2, 2018
55c136c
Add LC to instruction material section
Dec 2, 2018
8871a8e
Add lc to conditions, comments, text
Dec 2, 2018
cb4e249
add cp as template option
fmichonneau Dec 3, 2018
72c72b2
Update to LC inclusive language
Dec 2, 2018
3018b07
Include LC, Lesson Program date, update language
Dec 2, 2018
28599ae
Add LC condition
Dec 2, 2018
348a402
Add Carpentries, LC site, issues
Dec 2, 2018
93a8400
Update to inclusive language - roles
Dec 2, 2018
269bfb5
links.md: lesson-specific links
maxim-belkin Dec 4, 2018
8a4dfc8
CONTRIBUTING.md: remove repetitive text
maxim-belkin Dec 3, 2018
487c4b8
add meta tag for carpentry type
fmichonneau Dec 6, 2018
ee23419
.travis.yml: use Python 3.7
maxim-belkin Dec 7, 2018
8b7eae1
links.md: sync with downstream (lesson-example)
maxim-belkin Dec 7, 2018
cb4e1dd
lesson_check.py: require _config.yml too
maxim-belkin Dec 12, 2018
e488057
knit_lessons.sh: require 2 inputs exactly
maxim-belkin Dec 12, 2018
6012471
Merge pull request #379 from maxim-belkin/lesson-links
rgaiacs Dec 19, 2018
9abaca8
update link for coc reporting
fmichonneau Dec 20, 2018
98c4617
Clarify wording of PR & issue templates
gcapes Jan 23, 2019
b29e2c1
Merge pull request #386 from gcapes/clarify-templates
rgaiacs Jan 23, 2019
ab8deca
lesson_check.py: remove _config.yml from the list of required files
alexwhan Feb 6, 2019
b3e88ce
Colorize all boxes
maxim-belkin Mar 1, 2019
8bda280
Improve contrast of code elements
maxim-belkin Mar 6, 2019
514fb46
Prefix code blocks with language names
maxim-belkin Mar 11, 2019
cd761b2
Fix contrast of links in challenge blocks
maxim-belkin Mar 12, 2019
124dea1
reference to the webpage of the lesson + goodfirst
anacost Mar 20, 2019
5fc0f39
gold colour to badge
anacost Mar 21, 2019
962e3d9
add 'FIXME' so they will be picked up by checks
fmichonneau Mar 21, 2019
853155c
use xenial on travis
fmichonneau Mar 27, 2019
51d615d
bin/lesson_check.py: avoid inconsistent grammar
katrinleinweber Apr 18, 2019
19885f7
util.py: hot fix for YAML loader
maxim-belkin Apr 18, 2019
29dc6c4
add data-checker-ignore attributes to links that only work on GitHub
fmichonneau Apr 26, 2019
766155a
add data-checker-ignore attributes to footer links
fmichonneau Apr 26, 2019
2507646
make title show episode title first
maneesha May 7, 2019
6ecf1b7
use ndash as separator
fmichonneau May 13, 2019
6e5cba2
upgrade to bootstrap 3.4.1
fmichonneau May 13, 2019
133eb68
Merge branch 'gh-pages' of github.com:carpentries/styles into gh-pages
fmichonneau May 13, 2019
e684332
update coc incident reporting link
fmichonneau May 14, 2019
112b021
Update PULL_REQUEST_TEMPLATE.md
raynamharris May 15, 2019
99a5587
Update ISSUE_TEMPLATE.md
raynamharris May 15, 2019
ccd5388
Merge github.com:carpentries/styles into upgrade-style-9.5.3
fmichonneau May 28, 2019
d2550dc
remove root variable
fmichonneau May 28, 2019
1dba19b
remove permalink
fmichonneau May 28, 2019
5e165c1
fix links
fmichonneau May 28, 2019
d7169e6
upgrade all in one
fmichonneau May 28, 2019
6e96f86
fix link
fmichonneau May 29, 2019
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
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
root = true

[*]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
indent_size = 2
indent_style = space
max_line_length = 100 # Please keep this in sync with bin/lesson_check.py!

[*.r]
max_line_length = 80

[*.py]
indent_size = 4
indent_style = space
max_line_length = 79

[*.sh]
end_of_line = lf

[Makefile]
indent_style = tab
6 changes: 4 additions & 2 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
Please delete the text below before submitting your contribution.
Please delete this line and the text below before submitting your contribution.

---

Thanks for contributing! If this contribution is for instructor training, please send an email to [email protected] with a link to this contribution so we can record your progress. You’ve completed your contribution step for instructor checkout just by submitting this contribution.

Please keep in mind that lesson maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact Kate Hertweck ([email protected]).
If this issue is about a specific episode within a lesson, please provide its link or filename.

Please keep in mind that lesson maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at [email protected].

---
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Please delete the text below before submitting your contribution.
Please delete this line and the text below before submitting your contribution.

---

Thanks for contributing! If this contribution is for instructor training, please send an email to [email protected] with a link to this contribution so we can record your progress. You’ve completed your contribution step for instructor checkout just by submitting this contribution.

Please keep in mind that lesson maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact Kate Hertweck ([email protected]).
Please keep in mind that lesson maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at [email protected].

---
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@
.sass-cache
__pycache__
_site
.Rproj.user
.Rhistory
.RData

11 changes: 11 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: page
title: "Contributor Code of Conduct"
---
As contributors and maintainers of this project,
we pledge to follow the [Carpentry Code of Conduct][coc].

Instances of abusive, harassing, or otherwise unacceptable behavior
may be reported by following our [reporting guidelines][coc-reporting].

{% include links.md %}
45 changes: 0 additions & 45 deletions CONDUCT.md

This file was deleted.

8 changes: 3 additions & 5 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
---
layout: page
title: "Licenses"
permalink: /license/
---
## Instructional Material

All Software Carpentry and Data Carpentry instructional material is
All Software Carpentry, Data Carpentry, and Library Carpentry instructional material is
made available under the [Creative Commons Attribution
license][cc-by-human]. The following is a human-readable summary of
(and not a substitute for) the [full legal text of the CC BY 4.0
Expand Down Expand Up @@ -78,7 +77,6 @@ are registered trademarks of [Community Initiatives][CI].

[cc-by-human]: https://creativecommons.org/licenses/by/4.0/
[cc-by-legal]: https://creativecommons.org/licenses/by/4.0/legalcode
[mit-license]: http://opensource.org/licenses/mit-license.html
[mit-license]: https://opensource.org/licenses/mit-license.html
[ci]: http://communityin.org/
[osi]: http://opensource.org

[osi]: https://opensource.org
32 changes: 16 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# Settings
MAKEFILES=Makefile $(wildcard *.mk)
JEKYLL=jekyll
JEKYLL_VERSION=3.7.3
PARSER=bin/markdown_ast.rb
DST=_site

Expand All @@ -16,6 +17,10 @@ all : commands
commands :
@grep -h -E '^##' ${MAKEFILES} | sed -e 's/## //g'

## docker-serve : use docker to build the site
docker-serve :
docker run --rm -it -v ${PWD}:/srv/jekyll -p 127.0.0.1:4000:4000 jekyll/jekyll:${JEKYLL_VERSION} make serve

## serve : run a local server.
serve : lesson-md
${JEKYLL} serve
Expand All @@ -38,7 +43,7 @@ clean :
@find . -name '*.pyc' -exec rm {} \;

## clean-rmd : clean intermediate R files (that need to be committed to the repo).
clear-rmd :
clean-rmd :
@rm -rf ${RMD_DST}
@rm -rf fig/rmd-*

Expand All @@ -63,45 +68,40 @@ RMD_DST = $(patsubst _episodes_rmd/%.Rmd,_episodes/%.md,$(RMD_SRC))
# Lesson source files in the order they appear in the navigation menu.
MARKDOWN_SRC = \
index.md \
CONDUCT.md \
CODE_OF_CONDUCT.md \
setup.md \
$(wildcard _episodes/*.md) \
$(sort $(wildcard _episodes/*.md)) \
reference.md \
$(wildcard _extras/*.md) \
$(sort $(wildcard _extras/*.md)) \
LICENSE.md

# Generated lesson files in the order they appear in the navigation menu.
HTML_DST = \
${DST}/index.html \
${DST}/conduct/index.html \
${DST}/setup/index.html \
$(patsubst _episodes/%.md,${DST}/%/index.html,$(wildcard _episodes/*.md)) \
$(patsubst _episodes/%.md,${DST}/%/index.html,$(sort $(wildcard _episodes/*.md))) \
${DST}/reference/index.html \
$(patsubst _extras/%.md,${DST}/%/index.html,$(wildcard _extras/*.md)) \
$(patsubst _extras/%.md,${DST}/%/index.html,$(sort $(wildcard _extras/*.md))) \
${DST}/license/index.html

## lesson-md : convert Rmarkdown files to markdown
lesson-md : ${RMD_DST}

# Use of .NOTPARALLEL makes rule execute only once
${RMD_DST} : ${RMD_SRC}
@bin/knit_lessons.sh ${RMD_SRC}
_episodes/%.md: _episodes_rmd/%.Rmd
@bin/knit_lessons.sh $< $@

## lesson-check : validate lesson Markdown.
lesson-check :
lesson-check : lesson-fixme
@bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md

## lesson-check-all : validate lesson Markdown, checking line lengths and trailing whitespace.
lesson-check-all :
@bin/lesson_check.py -s . -p ${PARSER} -l -w

## lesson-figures : re-generate inclusion displaying all figures.
lesson-figures :
@bin/extract_figures.py -p ${PARSER} ${MARKDOWN_SRC} > _includes/all_figures.html
@bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md -l -w --permissive

## unittest : run unit tests on checking tools.
unittest :
python bin/test_lesson_check.py
@bin/test_lesson_check.py

## lesson-files : show expected names of generated files for debugging.
lesson-files :
Expand Down
4 changes: 2 additions & 2 deletions _episodes/01-basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ the same base document.
A version control system is a tool that keeps track of these changes for us and
helps us version and merge our files. It allows you to
decide which changes make up the next version, called a
[commit]({{ page.root }}/reference/#commit), and keeps useful metadata about them. The
[commit]({% link reference.md %}#commit), and keeps useful metadata about them. The
complete history of commits for a particular project and their metadata make up
a [repository]({{ page.root }}/reference/#repository). Repositories can be kept in sync
a [repository]({% link reference.md %}#repository). Repositories can be kept in sync
across different computers facilitating collaboration among different people.

> ## The Long History of Version Control Systems
Expand Down
4 changes: 2 additions & 2 deletions _episodes/03-create-repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Lots of projects
(and therefore version control repositories)
start with a single text file in which someone writes down some initial ideas.

Now that we have Mercurial [configured]({{ page.root }}/02-configuration/),
Now that we have Mercurial [configured]({% link _episodes/02-configuration.md %}),
we can start using it.
Let's create a directory for Susan's NEMO forecast project:

Expand All @@ -30,7 +30,7 @@ $ cd forecast
~~~
{: .bash}

and tell Mercurial to make it a [repository]({{ page.root }}/reference/#repository):
and tell Mercurial to make it a [repository]({% link reference.md %}#repository):
a place where Mercurial can store versions of our files:

~~~
Expand Down
6 changes: 3 additions & 3 deletions _episodes/04-tracking.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ $ hg commit -m "Starting to plan the daily NEMO forecast system."
When we run `hg commit`,
Mercurial takes the file we have told it about by using `hg add` and stores
a copy permanently inside the special `.hg` directory.
That permanent copy is called a [commit]({{ page.root }}/reference/#commit)
(or [revision]({{ page.root }}/reference/#revision)).
That permanent copy is called a [commit]({% link reference.md %}#commit)
(or [revision]({% link reference.md %}#revision)).

We use the `-m` flag (for "message") to record a comment that will help us
remember later on what we did and why.
Expand Down Expand Up @@ -156,7 +156,7 @@ summary: Starting to plan the daily NEMO forecast system.

`hg log` lists all changes committed to a repository,
starting with the most recent.
The listing for each [changeset]({{ page.root }}/reference/#changeset) includes:
The listing for each [changeset]({% link reference.md %}#changeset) includes:

* the changeset's revision number and identifier
(`0` and `1320339bbcae` in this case,
Expand Down
2 changes: 1 addition & 1 deletion _episodes/09-remote-repos.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,6 @@ this command would download them to our local repository.
> that you can generate for yourself.
> Getting that set up is a distraction from the topics of this workshop,
> but after the workshop you should read the Bitbucket
> [Setting up SSH for Mercurial](https://confluence.atlassian.com/bitbucket/set-up-ssh-for-mercurial-728138122.html)
> [Setting up SSH for Mercurial](https://confluence.atlassian.com/bitbucket/set-up-an-ssh-key-728138079.html)
> documentation on your own and set up ssh keys for yourself.
{: .callout}
2 changes: 1 addition & 1 deletion _episodes/12-merges.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ abort: push creates new remote head e0747e3feea1!
Mercurial detects that our changes have diverged with the changes in the remote
repo on Bitbucket and stops us from creating a confusing situation on there.
What we have to do is pull the changes from Bitbucket,
[merge]({{ page.root }}/reference/#merge) them into the copy we're currently working in,
[merge]({% link reference.md %}#merge) them into the copy we're currently working in,
and then push that.
Let's start by pulling:

Expand Down
2 changes: 1 addition & 1 deletion _episodes/15-licensing.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ the most popular, including the following:

The GPL is different from most other open source licenses in that it
is
[infective]({{ page.root }}/reference/#infective):
[infective]({% link reference.md %}#infective):
anyone who distributes a modified version of the code, or anything
that includes GPL'ed code, must make *their* code freely available as
well.
Expand Down
1 change: 0 additions & 1 deletion _extras/about.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
layout: page
title: About
permalink: /about/
---
{% include carpentries.html %}
4 changes: 2 additions & 2 deletions _extras/discuss.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ it won't be covered by the instructor.

## More Advanced Mercurial Configuration

In the [Setting Up]({{ page.root }}/01-backup/#setting-up) section we edited a
In the [Setting Up]({% link _episodes/01-basics.md %}#setting-up) section we edited a
Mercurial configuration file in our home directory called
`$USERPROFILE/Mercurial.ini` or `~/.hgrc`. You can quickly open that
file for editing with the command `hg config --edit`.
Expand Down Expand Up @@ -41,7 +41,7 @@ editing with the command `hg config --local`.

## Non-text Files

Recall when we discussed [Conflicts]({{ page.root }}/03-conflict/) there was a
Recall when we discussed [Conflicts]({% link _episodes/13-conflicts.md %}) there was a
challenge that asked, "What does hg do when there is a conflict in an
image or some other non-textual file that is stored in version
control?" We will now revisit this in more detail.
Expand Down
1 change: 0 additions & 1 deletion _extras/figures.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
layout: page
title: Figures
permalink: /figures/
---
{% include all_figures.html %}
Loading