From: Raniere Silva Date: Sat, 6 May 2017 08:26:10 +0000 (+0100) Subject: Merge pull request #149 from rgaiacs/styles-print X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/commitdiff_plain/908fff1fc50de4f44bff2b6227816e25e39a3bd3?hp=3474a5ff1e54a0f9c0a26230814729138f65768a Merge pull request #149 from rgaiacs/styles-print Add all in one lesson build with Javascript --- diff --git a/CONDUCT.md b/CONDUCT.md index e83b08f..5e4943b 100644 --- a/CONDUCT.md +++ b/CONDUCT.md @@ -32,13 +32,14 @@ or other unprofessional conduct. Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions -that are not aligned to this Code of Conduct. +that are not aligned to our [Code of Conduct][coc]. Project maintainers who do not follow the Code of Conduct may be removed from the project team. Instances of abusive, harassing, or otherwise unacceptable behavior -may be reported by opening an issue or contacting one or more of the project maintainers. +may be reported by following our [reporting guidelines][coc-reporting]. -This Code of Conduct is adapted from -the [Contributor Covenant][contrib-covenant] Version 1.0.0. -[contrib-covenant]: http://contributor-covenant.org/ +- [Software and Data Carpentry Code of Conduct][coc] +- [Code of Conduct Reporting Guide][coc-reporting] + +{% include links.md %} diff --git a/_includes/links.md b/_includes/links.md new file mode 100644 index 0000000..a163786 --- /dev/null +++ b/_includes/links.md @@ -0,0 +1,35 @@ +[cc-by-human]: https://creativecommons.org/licenses/by/4.0/ +[cc-by-legal]: https://creativecommons.org/licenses/by/4.0/legalcode +[concept-maps]: http://swcarpentry.github.io/instructor-training/08-memory/ +[contact]: mailto:lessons@software-carpentry.org +[contrib-covenant]: http://contributor-covenant.org/ +[contributing]: {{ site.github.repository_url }}/blob/gh-pages/CONTRIBUTING.md +[cran-checkpoint]: https://cran.r-project.org/web/packages/checkpoint/index.html +[cran-knitr]: https://cran.r-project.org/web/packages/knitr/index.html +[cran-stringr]: https://cran.r-project.org/web/packages/stringr/index.html +[github-importer]: https://import.github.com/ +[importer]: http://import.github.com/new +[jekyll-collection]: https://jekyllrb.com/docs/collections/ +[jekyll-install]: https://jekyllrb.com/docs/installation/ +[jekyll-windows]: http://jekyll-windows.juthilo.com/ +[jekyll]: https://jekyllrb.com/ +[jupyter]: https://jupyter.org/ +[mit-license]: http://opensource.org/licenses/mit-license.html +[morea]: https://morea-framework.github.io/ +[numfocus]: http://numfocus.org/ +[osi]: http://opensource.org +[pandoc]: https://pandoc.org/ +[paper-now]: https://github.com/PeerJ/paper-now +[python-gapminder]: https://swcarpentry.github.io/python-novice-gapminder/ +[pyyaml]: https://pypi.python.org/pypi/PyYAML +[r-markdown]: http://rmarkdown.rstudio.com/ +[rstudio]: https://www.rstudio.com/ +[ruby-install-guide]: https://www.ruby-lang.org/en/downloads/ +[ruby-installer]: http://rubyinstaller.org/ +[rubygems]: https://rubygems.org/pages/download/ +[styles]: https://github.com/swcarpentry/styles/ +[training]: http://swcarpentry.github.io/instructor-training/ +[workshop-repo]: {{ site.workshop_repo }} +[yaml]: http://yaml.org/ +[coc]: https://software-carpentry.org/conduct/ +[coc-reporting]: https://software-carpentry.org/CoC-reporting/ \ No newline at end of file diff --git a/assets/js/lesson.js b/assets/js/lesson.js index c51dca6..185da92 100644 --- a/assets/js/lesson.js +++ b/assets/js/lesson.js @@ -3,7 +3,7 @@ $("table").addClass("table table-striped"); // Handle foldable challenges and solutions (on click and at start). -$(".challenge,.discussion,.solution").click(function(event) { +$(".solution").click(function(event) { var trigger = $(event.target).has(".fold-unfold").size() > 0 || $(event.target).filter(".fold-unfold").size() > 0; if (trigger) { @@ -12,7 +12,7 @@ $(".challenge,.discussion,.solution").click(function(event) { event.stopPropagation(); } }); -$(".challenge,.discussion,.solution").each(function() { +$(".solution").each(function() { $(">*:not(h2)", this).toggle(); var h2 = $("h2:first", this); h2.append("");