To contribute teaching materials:
- prepare teaching materials in a self-contained folder, ideally using
git
while developing the materials - add folder to Github repository
- add links to the session to
index.md
# Clone excelerate-scRNAseq
git clone https://github.com/NBISweden/workshop-biostatistics.git
cd workshop-biostatistics
# Checkout feature branch to work on
git checkout -b session-example
Prepare a folder with teaching materials for a given session, e.g. session-example
. It is probably easiest to use Markdown for the main document, to be able to display content on Github and NBIS website. However, feel free to use other solutions if you have any other strong preferences.
e.g. folder structure with .md and .Rmd
e.g. session-example
.
+-- session-example-files
| +-- figures
| +-- pressure.png
+-- session-example.md
+-- session-example.Rmd
Btw, you get this structure by default if you use R-Studio, New file -> R markdown -> From Template -> GitHub Document (Markdown)
# Code & commit changes while working on the materials
git add session-feature.md
git commit -m "commit message"
# Push to feature when ready
git push
Note Git commit good practices
Git commits good practices
- Commit messages should contain relevant information regarding the feature(s) you add, what type of analyses they can be used for, etc..
- The subject line should be written in an imperative, e.g. Fix typos and be 50 characters or less
- The body, if any, should be wrapped at 72 characters.
- The subject and body should be separated by a blank line, start with a capital letter, and the subject line should not end with a period.
- More about good commit messages
see example under Session Links
# Push to feature when ready
git push
Go to course repository https://github.com/NBISweden/workshop-biostatistics.git and create a pull request
Create an issue or contact Olga Dethlefsen <[email protected]>
https://nbisweden.github.io/workshop-biostatistics/
*renders from master branch