Skip to content

Commit 621dae2

Browse files
authored
docs: 📝 match README style with Seedcase template style (#7)
# Description This expands the README to include things like badges, how to cite, contributing, and links to the website. ## Checklist - [x] Formatted Markdown
1 parent 172e4f1 commit 621dae2

File tree

3 files changed

+142
-55
lines changed

3 files changed

+142
-55
lines changed

README.md

Lines changed: 70 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,70 @@
1-
# `template-workshop`: A template for creating Quarto-based workshops
2-
3-
[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-teal.json)](https://github.com/copier-org/copier)
4-
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/rostools/tempate-workshop/main.svg)](https://results.pre-commit.ci/latest/github/rostools/template-workshop/main)
5-
[![GitHub Release](https://img.shields.io/github/v/release/rostools/template-workshop)](https://github.com/rostools/template-workshop/releases/latest)
6-
7-
8-
Release
9-
Zenodo DOI
10-
11-
## Features
12-
13-
- Uses [Quarto](https://quarto.org/) for the workshop content, allowing for easy
14-
integration of code, text, and figures.
15-
- Includes a [justfile](https://just.systems/man/en/) for managing common tasks
16-
like building the workshop and running checks.
17-
- Uses [typos](https://github.com/crate-ci/typos) to check for common
18-
spelling mistakes.
19-
- For R projects, uses [Air](https://posit-dev.github.io/air/) to format and check
20-
R code.
21-
- Uses [Commitizen](https://commitizen-tools.github.io/commitizen/) to check
22-
commit messages, create the changelog, tag the repository, and create a
23-
a GitHub release.
24-
- Uses a [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) license.
25-
- Run checks with with [pre-commit](https://pre-commit.com/) hooks to ensure
26-
consistent formatting and style across the project. It includes checks for
27-
credentials, typos, and file formatting.
28-
- Uses [rostools-theme]() Quarto extension for a standard appearance across
29-
workshops.
30-
- Includes [GitHub Actions](https://docs.github.com/en/actions) for continuous
31-
integration and delivery for running checks, formatting, releasing, and building
32-
the website.
33-
- Uses [Netlify](https://www.netlify.com/) for hosting the workshop website,
34-
which is automatically built and deployed with Quarto's GitHub Action workflow.
35-
- Includes an [EditorConfig](https://editorconfig.org/) file to ensure consistent
36-
formatting across different editors.
37-
- Sets some common VS Code settings for the project, including suggesting
38-
extensions
39-
40-
41-
## Using
42-
43-
This template uses [Copier](https://copier.readthedocs.io/) to create a folder
44-
with relevant files for a rostools-structured workshop. We use
45-
[uv](https://docs.astral.sh/uv) to run the commands, so you'll need to install
46-
that first. After that, creating a new workshop project folder can be done with:
47-
48-
```bash
49-
uvx copier copy gh:rostools/template-workshop WORKSHOP-NAME
50-
```
51-
52-
Where `WORKSHOP-NAME` is the name of the folder you want to create. This will
53-
copy the template files into that folder, and you can then edit them as needed.
54-
When you use it, it will ask you a series of questions to correctly set up the
55-
workshop folder.
1+
2+
3+
# Template Workshop: An opinionated setup for making workshops as open educational resources
4+
5+
<!-- TODO: DOI here -->
6+
7+
[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-teal.json?raw=true)](https://github.com/copier-org/copier)
8+
[![GitHub
9+
License](https://img.shields.io/github/license/rostools/template-workshop)](https://github.com/rostools/template-workshop/blob/main/LICENSE.md)
10+
[![GitHub
11+
Release](https://img.shields.io/github/v/release/rostools/template-workshop)](https://github.com/rostools/template-workshop/releases/latest)
12+
[![Test](https://github.com/rostools/template-workshop/actions/workflows/test.yml/badge.svg)](https://github.com/rostools/template-workshop/actions/workflows/test.yml)
13+
[![Build
14+
website](https://github.com/rostools/template-workshop/actions/workflows/build-website.yml/badge.svg)](https://github.com/rostools/template-workshop/actions/workflows/build-website.yml)
15+
[![pre-commit.ci
16+
status](https://results.pre-commit.ci/badge/github/rostools/template-workshop/main.svg)](https://results.pre-commit.ci/latest/github/rostools/template-workshop/main)
17+
[![lifecycle](https://lifecycle.r-lib.org/articles/figures/lifecycle-experimental.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
18+
[![Project Status: Active – The project has reached a stable, usable
19+
state and is being actively
20+
developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
21+
22+
This repository contains a template for setting up a new workshop
23+
repository that will contain files to create a website for a workshop
24+
and that might also be used as an open educational resource (OER). Use
25+
this template to quickly get started with a new workshop with all the
26+
necessary files and configurations in place for a smoother “developer
27+
experience” and to have [continuous
28+
delivery/deployment](https://en.wikipedia.org/wiki/Continuous_delivery)
29+
of the workshop website and archival to Zenodo.
30+
31+
Check out our [website](https://template-workshop.rostools.org/) for
32+
more information, such as the features it provides, a
33+
[guide](https://template-workshop.rostools.org/docs/guide/) for using
34+
the template. For a list of changes, see our
35+
[changelog](https://template-workshop.rostools.org/docs/releases/) page.
36+
37+
## Contributing
38+
39+
Check out our [contributing
40+
page](https://template-workshop.rostools.org/contributing/) for
41+
information on how to contribute to the project, including how to set up
42+
your development environment.
43+
44+
Please note that this project is released with a [Contributor Code of
45+
Conduct](https://github.com/rostools/template-workshop/blob/main/CODE_OF_CONDUCT.md).
46+
By participating in this project you agree to abide by its terms.
47+
48+
## Licensing
49+
50+
This project is licensed under the [MIT
51+
License](https://github.com/rostools/template-workshop/blob/main/LICENSE.md).
52+
53+
## Citing
54+
55+
This project is part of rostools, which is an organisation that hosts
56+
and runs workshops (also as open educational resources) that are related
57+
in some way to doing reproducible and open science. If you use this
58+
project in your work, please cite it as follows:
59+
60+
Johnston L.W., Brødbæk S.K. Template Workshop: An opinionated setup for
61+
making workshops as open educational resources URL:
62+
https://template-workshop.rostools.org
63+
64+
Or as a BibTeX entry:
65+
66+
@misc{YourReferenceHere,
67+
author = {Johnston, Luke William and Brødbæk, Signe Kirk},
68+
title = {Template Workshop: An opinionated setup for making workshops as open educational resources},
69+
url = {https://template-workshop.rostools.org}
70+
}

README.qmd

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
---
2+
format: gfm
3+
execute:
4+
echo: false
5+
jupyter: python3
6+
metadata-files:
7+
- _quarto.yml
8+
---
9+
10+
# Template Workshop: An opinionated setup for making workshops as open educational resources
11+
12+
{{< include /docs/includes/_badges.qmd >}}
13+
14+
This repository contains a template for setting up a new workshop
15+
repository that will contain files to create a website for a workshop
16+
and that might also be used as an open educational resource (OER).
17+
Use this template to quickly get started with a new workshop with all
18+
the necessary files and configurations in place for a smoother
19+
"developer experience" and to have [continuous
20+
delivery/deployment](https://en.wikipedia.org/wiki/Continuous_delivery)
21+
of the workshop website and archival to Zenodo.
22+
23+
Check out our
24+
[website](https://{{< meta gh.repo >}}.{{< meta gh.org >}}.org/) for more
25+
information, such as the features it provides, a
26+
[guide](https://{{< meta gh.repo >}}.{{< meta gh.org >}}.org/docs/guide/)
27+
for using the template. For a list of changes, see our
28+
[changelog](https://{{< meta gh.repo >}}.{{< meta gh.org >}}.org/docs/releases/)
29+
page.
30+
31+
## Contributing
32+
33+
Check out our [contributing
34+
page](https://{{< meta gh.repo >}}.{{< meta gh.org >}}.org/contributing/)
35+
for information on how to contribute to the project, including how to
36+
set up your development environment.
37+
38+
Please note that this project is released with a [Contributor Code of
39+
Conduct](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/blob/main/CODE_OF_CONDUCT.md).
40+
By participating in this project you agree to abide by its terms.
41+
42+
## Licensing
43+
44+
This project is licensed under the [MIT
45+
License](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/blob/main/LICENSE.md).
46+
47+
## Citing
48+
49+
This project is part of rostools, which is an organisation that hosts
50+
and runs workshops (also as open educational resources) that are related
51+
in some way to doing reproducible and open science. If you use this
52+
project in your work, please cite it as follows:
53+
54+
```{python}
55+
#| output: asis
56+
!uvx --quiet cffconvert --format apalike
57+
```
58+
59+
Or as a BibTeX entry:
60+
61+
```{python}
62+
!uvx --quiet cffconvert --format bibtex
63+
```

docs/includes/_badges.qmd

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- TODO: DOI here -->
2+
[![Copier](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/copier-org/copier/master/img/badge/badge-grayscale-inverted-border-teal.json?raw=true)](https://github.com/copier-org/copier)
3+
[![GitHub License](https://img.shields.io/github/license/{{< meta gh.org >}}/{{< meta gh.repo >}})](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/blob/main/LICENSE.md)
4+
[![GitHub Release](https://img.shields.io/github/v/release/{{< meta gh.org >}}/{{< meta gh.repo >}})](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/releases/latest)
5+
[![Test](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/test.yml/badge.svg)](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/test.yml)
6+
[![Build website](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/build-website.yml/badge.svg)](https://github.com/{{< meta gh.org >}}/{{< meta gh.repo >}}/actions/workflows/build-website.yml)
7+
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/{{< meta gh.org >}}/{{< meta gh.repo >}}/main.svg)](https://results.pre-commit.ci/latest/github/{{< meta gh.org >}}/{{< meta gh.repo >}}/main)
8+
[![lifecycle](https://lifecycle.r-lib.org/articles/figures/lifecycle-experimental.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
9+
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)

0 commit comments

Comments
 (0)