Skip to content

Commit 80d2c30

Browse files
authored
Merge branch 'main' into fasterRaster_adam_smith
2 parents a26fbe2 + c323762 commit 80d2c30

327 files changed

Lines changed: 16943 additions & 529 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pr-check.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
with:
3333
packages:
3434
any::rmarkdown
35+
any::reticulate
3536

3637
- name: Set up Quarto
3738
uses: quarto-dev/quarto-actions/setup@v2

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
with:
3232
packages:
3333
any::rmarkdown
34+
any::reticulate
3435

3536
- name: Set up Quarto
3637
uses: quarto-dev/quarto-actions/setup@v2

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Quarto
2+
_freeze/
3+
14
# Byte-compiled / optimized / DLL files
25
__pycache__/
36
*.py[cod]

CODE_OF_CONDUCT.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Code of Conduct
2+
3+
We value the participation of every member in our community and
4+
want to ensure that every contributor has an enjoyable experience.
5+
Accordingly, those who participate in the GRASS project are expected
6+
to show respect and courtesy to other community members at all times.
7+
8+
GRASS uses the [NumFOCUS Code of Conduct (CoC)](https://numfocus.org/code-of-conduct).
9+
10+
## The Short Version
11+
12+
Be kind to others. Do not insult or put down others. Behave professionally.
13+
Remember that harassment and sexist, racist, or exclusionary jokes
14+
are not appropriate.
15+
16+
All communication should be appropriate for a professional audience
17+
including people of many different backgrounds. Sexual language
18+
and imagery is not appropriate.
19+
20+
GRASS and NumFOCUS are dedicated to providing a harassment-free community for everyone,
21+
regardless of gender, sexual orientation, gender identity and expression,
22+
disability, physical appearance, body size, race, or religion.
23+
We do not tolerate harassment of community members in any form.
24+
25+
Thank you for helping make this a welcoming, friendly community for all.
26+
27+
## Reporting
28+
29+
If you feel that the Code of Conduct has been violated,
30+
submit a report directly to the NumFOCUS Code of Conduct Working Group by using
31+
[NumFOCUS Code of Conduct Reporting Form](https://numfocus.typeform.com/to/ynjGdT).

CONTRIBUTING.md

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ title: "Computing slope from elevation data in Python"
8181
author: "Your Name"
8282
date: "2025-05-15"
8383
description: "Learn how to derive slope from elevation data in GRASS in a Jupyter Notebook."
84-
categories: ["beginner", "geomorphometry", Python]
85-
thumbnail: slope_thumbnail.webp
84+
categories: [beginner, geomorphometry, Python]
85+
image: slope_thumbnail.webp
8686
format:
8787
ipynb: default
8888
html:
@@ -117,12 +117,47 @@ At the same time, their size should not be too big to load quickly, try to keep
117117
```
118118

119119
Each tutorial needs to have at least one image that can be used on the main page as a thumbnail.
120-
You can either specify it in the YAML header (`thumbnail: image.webp`) or add `{.preview-image}` to the image.
120+
You can either specify it in the YAML header (`image: image.webp`) or add `{.preview-image}` to the image.
121121

122122
``` markdown
123123
![Slope map](slope.webp){.preview-image}
124124
```
125125

126+
## External tutorials
127+
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:
131+
132+
``` yaml
133+
- title: Species distribution modeling using Maxent in GRASS GIS
134+
path: https://ecodiv.earth/TutorialsNotes/sdmingrassgis/
135+
author: Paulo van Breugel
136+
image: content/tutorials/external/images/sdm_in_grass_tutorialbanner.png
137+
date: "2025-02-12"
138+
description: Species distribution models to predict the current and future distribution of the Almond-eyed Ringlet.
139+
categories: ['biogeography', 'ecology', 'intermediate', 'advanced']
140+
- title: Density distribution map of white-tailed deer
141+
path: https://ecodiv.earth/TutorialsNotes/deerdensities/index.html
142+
author: Paulo van Breugel
143+
image: content/tutorials/external/images/deer-density-tile.png
144+
date: "2025-01-10"
145+
description: Habitat suitability map for the white-tailed deer using spatial multicriteria analysis and spatial disaggregation in GRASS.
146+
categories: ['biogeography', 'MCDA', 'ecology', 'intermediate']
147+
```
148+
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`.
160+
126161
## Submitting your contribution
127162
128163
Check your markdown with a [linter](https://dlaa.me/markdownlint/) and fix as many issues as you can. This will help keeping the tutorials consistent.
@@ -134,5 +169,7 @@ Once you sumbmit a PR, the CI pipeline will build your
134169
tutorial, so you and a reviewer can check if everything is ok.
135170
When a reviewer approves, your PR will be merged soon.
136171
172+
Please note that maintainers may make minor edits to improve clarity, consistency, or visual style.
173+
137174
---
138175
Thanks for helping us build better educational resources for the GRASS community!

FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
custom: ['https://numfocus.org/donate-to-grass']

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ written for OSGeo/grass repository, so just adjust it for this repository.
1818

1919
See [CONTRIBUTING.md](CONTRIBUTING.md) for more details.
2020

21+
Please note that all contributors are expected to follow the [Code of Conduct](CODE_OF_CONDUCT.md)
22+
to ensure a respectful and inclusive environment.
23+
2124
## License
2225

2326
The content in this repository is dual-licensed under the

_freeze/content/tests/styling/execute-results/html.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)