Skip to content

Commit bedb139

Browse files
committed
Address suggestions about contributing external tutorials
1 parent 96d4141 commit bedb139

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

CONTRIBUTING.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,9 @@ You can either specify it in the YAML header (`thumbnail: image.webp`) or add `{
125125

126126
## External tutorials
127127

128-
If you have your own website or blog where you regularly post your GRASS courses, workshops or tutorials,
129-
you can have those listed as external tutorials. If your website is fully dedicated to GRASS tutorials,
130-
then you can create a `.qmd` file within the `content/tutorials/external` folder.
131-
132-
If you want to have several external tutorials listed, you may want to create a `.yml` file
133-
within the `content/tutorials/external` folder. See an example below:
128+
If you want to have your GRASS external tutorials listed, you can create a `.yml` file
129+
within the `content/tutorials/external` folder with the tutorial(s) you want to include.
130+
See an example below:
134131

135132
``` yaml
136133
- title: Species distribution modeling using Maxent in GRASS GIS
@@ -149,8 +146,17 @@ within the `content/tutorials/external` folder. See an example below:
149146
categories: ['biogeography', 'MCDA', 'ecology', 'intermediate']
150147
```
151148
152-
In this latter case, you need to add the `.yml` file to `index.qmd` in the root directory.
153-
Note that in both cases, you need to also include an image that will be used as thumbnail.
149+
Then, you need to add the path to your `.yml` file in the header of the
150+
`index.qmd` file in the root directory.
151+
152+
``` yaml
153+
contents:
154+
- content/tutorials
155+
- content/tutorials/external/your_tutorials.yml
156+
```
157+
158+
Do not forget to also include the image that will be used as thumbnail within
159+
`content/tutorials/external/images`.
154160
155161
## Submitting your contribution
156162

0 commit comments

Comments
 (0)