Skip to content

Commit e5618a5

Browse files
committed
merge styles v9.5.2
2 parents bed7cd9 + 0ff9a92 commit e5618a5

20 files changed

+59
-19
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,6 @@
66
__pycache__
77
_site
88
.Rproj.user
9+
.Rhistory
10+
.RData
11+
File renamed without changes.

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# Settings
55
MAKEFILES=Makefile $(wildcard *.mk)
66
JEKYLL=jekyll
7+
JEKYLL_VERSION=3.7.3
78
PARSER=bin/markdown_ast.rb
89
DST=_site
910

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

20+
## docker-serve : use docker to build the site
21+
docker-serve :
22+
docker run --rm -it -v ${PWD}:/srv/jekyll -p 127.0.0.1:4000:4000 jekyll/jekyll:${JEKYLL_VERSION} make serve
23+
1924
## serve : run a local server.
2025
serve : lesson-md
2126
${JEKYLL} serve
@@ -63,7 +68,7 @@ RMD_DST = $(patsubst _episodes_rmd/%.Rmd,_episodes/%.md,$(RMD_SRC))
6368
# Lesson source files in the order they appear in the navigation menu.
6469
MARKDOWN_SRC = \
6570
index.md \
66-
CONDUCT.md \
71+
CODE_OF_CONDUCT.md \
6772
setup.md \
6873
$(sort $(wildcard _episodes/*.md)) \
6974
reference.md \

_includes/lesson_footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<div class="row">
4646
<div class="col-md-12" align="center">
4747
Using <a href="https://github.com/carpentries/styles/">The Carpentries style</a>
48-
version <a href="https://github.com/carpentries/styles/releases/tag/v9.5.0">9.5.0</a>.
48+
version <a href="https://github.com/carpentries/styles/releases/tag/v9.5.2">9.5.2</a>.
4949
</div>
5050
</div>
5151
</footer>

_includes/links.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[cran-checkpoint]: https://cran.r-project.org/package=checkpoint
1010
[cran-knitr]: https://cran.r-project.org/package=knitr
1111
[cran-stringr]: https://cran.r-project.org/package=stringr
12-
[email]: mailto:lessons@software-carpentry.org
12+
[email]: mailto:team@carpentries.org
1313
[github-importer]: https://import.github.com/
1414
[importer]: https://github.com/new/import
1515
[jekyll-collection]: https://jekyllrb.com/docs/collections/

_includes/navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<ul class="nav navbar-nav">
3939

4040
{% comment %} Always show code of conduct. {% endcomment %}
41-
<li><a href="{{ page.root }}{% link CONDUCT.md %}">Code of Conduct</a></li>
41+
<li><a href="{{ page.root }}{% link CODE_OF_CONDUCT.md %}">Code of Conduct</a></li>
4242

4343
{% if site.kind == "lesson" %}
4444
{% comment %} Show setup instructions. {% endcomment %}

bin/boilerplate/CODE_OF_CONDUCT.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
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+
{% include links.md %}

bin/boilerplate/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ In exchange,
1515
we will address your issues and/or assess your change proposal as promptly as we can,
1616
and help you become a member of our community.
1717
Everyone involved in [Software Carpentry][swc-site] and [Data Carpentry][dc-site]
18-
agrees to abide by our [code of conduct](CONDUCT.md).
18+
agrees to abide by our [code of conduct](CODE_OF_CONDUCT.md).
1919

2020
## How to Contribute
2121

bin/boilerplate/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ A list of contributors to the lesson can be found in [AUTHORS](AUTHORS)
2525

2626
To cite this lesson, please consult with [CITATION](CITATION)
2727

28-
[lesson-example]: https://swcarpentry.github.io/lesson-example
28+
[lesson-example]: https://carpentries.github.io/lesson-example

bin/boilerplate/_config.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22
# Values for this lesson.
33
#------------------------------------------------------------
44

5-
# Which carpentry is this ("swc", "dc", or "lc")?
5+
# Which carpentry is this ("swc", "dc", "lc", or "cp")?
6+
# swc: Software Carpentry
7+
# dc: Data Carpentry
8+
# lc: Library Carpentry
9+
# cp: Carpentries (to use for instructor traning for instance)
610
carpentry: "swc"
711

812
# Overall title for pages.
913
title: "Lesson Title"
1014

11-
# Contact. This *must* include the protocol: if it's an email
12-
# address, it must look like "mailto:[email protected]",
13-
# or if it's a URL, "https://gitter.im/username/ProjectName".
14-
email: "mailto:[email protected]"
15-
1615
#------------------------------------------------------------
1716
# Generic settings (should not need to change).
1817
#------------------------------------------------------------
@@ -22,16 +21,20 @@ kind: "lesson"
2221

2322
# Magic to make URLs resolve both locally and on GitHub.
2423
# See https://help.github.com/articles/repository-metadata-on-github-pages/.
24+
# Please don't change it: <USERNAME>/<PROJECT> is correct.
2525
repository: <USERNAME>/<PROJECT>
2626

27+
# Email address, no mailto:
28+
29+
2730
# Sites.
2831
amy_site: "https://amy.software-carpentry.org/workshops"
2932
carpentries_github: "https://github.com/carpentries"
3033
carpentries_pages: "https://carpentries.github.io"
3134
carpentries_site: "https://carpentries.org/"
3235
dc_site: "http://datacarpentry.org"
3336
example_repo: "https://github.com/carpentries/lesson-example"
34-
example_site: "https://carpentries.github.com/lesson-example"
37+
example_site: "https://carpentries.github.io/lesson-example"
3538
lc_site: "https://librarycarpentry.github.io/"
3639
swc_github: "https://github.com/swcarpentry"
3740
swc_pages: "https://swcarpentry.github.io"

0 commit comments

Comments
 (0)