Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.7%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: Southampton-RSG-Training
- License: other
- Language: Python
- Default Branch: main
- Homepage: https://southampton-rsg-training.github.io/git-novice/
- Size: 11.8 MB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 5
- Releases: 0
Metadata Files
README.md
RSG Training Lesson Template
This lesson template is intended to be used with the workshop-template, but can be used to create an independent, standalone lesson.
Standalone lesson build using existing lesson content
To create a standalone lesson fork the lesson repository, then simply update the location and time variables in _config.yml. Then commit and push to GitHub after the actions run (you may need to grant permission) then the lesson will be served on the gh-pages branch and hosted on GitHub pages.
Customising existing lessons
Pull a local copy of the lesson, create a branch with a short descriptive name e.g. for a simplified lesson 'easy-mode'. Make modifications to the markdown in episodes commit the new material. The actions script in the main lesson repository should not be altered. To serve this lesson standalone fork the lesson and modify the action script in your new branch replacing 'main' with e.g. 'easy-mode'. To build locally simply run `bash bin/buildme.sh`. To include the custom lesson in a workshop simply update the branch tag in the lesson's description in the workshop's _config.yml.
Developing New Lessons
Create a new lesson by creating a template of this repository, ensure that the branch is named main and also bring across the gh-pages branch. Please make sure to create this in the Southampton-RSG-Training organization, with a short name such as "git-novice", or "shell-advanced".
The lessons are written in markdown, firstly please view some existing lessons shell-novice and python-novice are good starting points and will inform you as to style and contain a lot of structures you can copy. There are extensive markdown guides elsewhere, so we will focus on the specific things to help use the additional features and files expected from this template.
Files to update/create
You should only need to update the following files:
reference.md- Lesson markdown files in
_episodes _config.yml- Figures can be stored in
fig/ - Code can be stored in
code/ - Data can be stored in
data/ - The home logo and favicon can be changed in
assets/
Specifying _config.yml
Update the _config.yml to include the following:
These are essential: - kind: lesson - type: use episode (unless you are developing in rmarkdown then change it to episoder, then stop developing in rmarkdown switch to markdown and change it back) - title, formtitle: the title of the workshop and the title of the workshop with spaces replaced with '+' and special characters removed, this is used for Google forms.
These are not essential:
- venue, address, country, lat/long: updates the details for the workshop location. You can use, e.g., Google Maps or https://www.latlong.net/convert-address-to-lat-long.html to find the latitude and longitude of the venue.
- humandate, humantime, startdate, enddate: human- and machine-readable dates and times, respectively, for the start and end of the workshop. Machine readable dates should be in YYYY-MM-DD format. The human-readable dates are free form.
- platform-name: e.g. Teams, Zoom...
Writing new markdown
New episodes should follow the naming format '00-lesson-name.md'.
Here are a few tips and tricks to get you writing good-looking lessons quickly:
Front Matter Variables
To make full use of the lesson template, it is wise to include as many as the following front matter variables in your episodes:
title- the episode titleslug- the episode slug, used to generate the permalink to that episodeteaching- the number of minutes of teaching for the episodeexercises- the number of minutes of exercises for the episodequestions- a YAML list of questions for the episodeobjectives- a YAML list of episode objectiveskeypoints- a YAML list of episode key points
Using tags
We use content tags to make engaging content by breaking up the flow.
A tag is used to style blocks of content, the format is {: .tag-name}. The tag needs to be positioned correctly to ensure styling is correctly applied. The tags may work when applied incorrectly but are likely to break later.
The tags apply on two types of content, text blocks and code blocks.
Code Blocks:
~~~
print('Hello world')
~~~
{: .language-python}
or
~~~
print('Hello world')
{: .language-python}
~~~
The tag directly after the block defines the formatting
Text Blocks: ```
We can add titles to text blocks
A text block can be styled using a tag but its best to leave one extra indented line
{: .callout} ```
Using nesting and tags:
```
A text block can be styled using a tag but its best to leave one extra indented line
This is useful when we use nested blocks so they don't trip over each other
{: .solution}
{: .callout} ```
Code and text all together:
```
A text block can be styled using a tag but its best to leave one extra indented line
~~~ print('Hello World') ~~~ {: .language-python}
This is useful when we use nested blocks so they don't trip over each other
No reason indenting cant define a code block too
print('Hello World')
{: .language-python}
{: .solution}
{: .callout} ```
For more examples see the markdown 00-introduction.md which should be deleted before you build the site.
Owner
- Name: Southampton-RSG-Training
- Login: Southampton-RSG-Training
- Kind: organization
- Repositories: 33
- Profile: https://github.com/Southampton-RSG-Training
This is a org to store the software lessons taught by the SRSG. The reposotry is built around the pinned 'workshop-template' which creates software workshops.
Citation (CITATION)
Please cite as: Southampton Research Software Group: "Lesson Template" GITHUB RELEASE, GITHUB URL Please also attribute: Greg Wilson (ed.): "Software Carpentry: Lesson Example." Version 2016.06, June 2016, https://github.com/carpentries/lesson-example, 10.5281/zenodo.58153.
GitHub Events
Total
- Issues event: 10
- Issue comment event: 7
- Push event: 5
- Pull request event: 3
Last Year
- Issues event: 10
- Issue comment event: 7
- Push event: 5
- Pull request event: 3
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 1
- Total pull requests: 1
- Average time to close issues: about 1 month
- Average time to close pull requests: about 2 hours
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 1
- Average time to close issues: about 1 month
- Average time to close pull requests: about 2 hours
- Issue authors: 1
- Pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- smangham (6)
- phillybroadbent (1)
Pull Request Authors
- smangham (3)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- PyYAML *
- beautifulsoup4 *
- favicons *
- git_root *
- html5lib *
- lxml *
- pandas *
- python-dateutil *
- github-pages >= 0 development
- jekyll-target-blank >= 0
- webrick >= 1.6.1
- JamesIves/github-pages-deploy-action 4.1.7 composite
- actions/checkout v2 composite
- actions/setup-python v2 composite
- andstor/file-existence-action v1 composite
- docker://pandoc/core 2.9 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-renv v2 composite