Skip to content

Commit

Permalink
Apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bouweandela committed Dec 6, 2024
1 parent d242da8 commit 6230e3f
Show file tree
Hide file tree
Showing 25 changed files with 2,312 additions and 1,199 deletions.
1 change: 0 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

version: 2
updates:

# Set update schedule for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/link-checker-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ jobs:
with:
# Avoid using single or double quotes for multiline patterns
files: |
**.md
**.md
matrix: true

linkChecker:
runs-on: ubuntu-latest
needs: changedFiles
if: ${{ needs.changedFiles.outputs.files != '' && toJSON(fromJSON(needs.changedFiles.outputs.files)) != '[]' }}
if:
${{ needs.changedFiles.outputs.files != '' &&
toJSON(fromJSON(needs.changedFiles.outputs.files)) != '[]' }}
strategy:
matrix:
file: ${{ fromJSON(needs.changedFiles.outputs.files) }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- main
schedule:
- cron: '0 4 * * *'
- cron: "0 4 * * *"
jobs:
linkChecker:
runs-on: ubuntu-latest
Expand All @@ -16,7 +16,9 @@ jobs:
id: lychee
with:
# note: args has a long default value; when you override it, make sure you don't accidentally forget to include the default options you want! see https://github.com/lycheeverse/lychee-action/blob/master/action.yml
args: --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' --accept '100..=103,200..=299, 429' --exclude nlesc.sharepoint.com
args:
--verbose --no-progress './**/*.md' './**/*.html' './**/*.rst'
--accept '100..=103,200..=299, 429' --exclude nlesc.sharepoint.com
env:
# This token is included to avoid github.com requests to error out with status 429 (too many requests). It only works for GitHub requests (also other GitHub REST API calls), not for the rest of the web.
GITHUB_TOKEN: ${{secrets.TOKEN_GITHUB}}
8 changes: 5 additions & 3 deletions .github/workflows/pdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: '20'
node-version: "20"

- name: Install uploader
run: npm install @iomeg/zenodo-upload
Expand All @@ -33,7 +33,7 @@ jobs:
--user $(id -u):$(id -g) \
-e "PDF_OUTPUT_NAME=guide-nlesc.pdf" \
ghcr.io/kernoeb/docker-docsify-pdf:latest
- name: Upload PDF as an artifact
if: always()
uses: actions/upload-artifact@v4
Expand All @@ -43,6 +43,8 @@ jobs:

- name: Upload PDF to Zenodo
if: github.event_name == 'release'
run: npx --package @iomeg/zenodo-upload zenodo_upload 4020565 guide-nlesc.pdf "${github_ref:10}" ${{ secrets.ZENODO_TOKEN }}
run:
npx --package @iomeg/zenodo-upload zenodo_upload 4020565
guide-nlesc.pdf "${github_ref:10}" ${{ secrets.ZENODO_TOKEN }}
env:
github_ref: ${{ github.ref }}
8 changes: 6 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
cff-version: 1.0.3
title: Software Development Guide
abstract: This is a guide to software development and projects at the Netherlands eScience Center. It both serves as a source of information for exactly how we work at the eScience Center, and as a basis for discussions and reaching consensus on this topic.
abstract:
This is a guide to software development and projects at the Netherlands
eScience Center. It both serves as a source of information for exactly how we
work at the eScience Center, and as a basis for discussions and reaching
consensus on this topic.
message: If you use this guide, please cite it.
repository-code: https://github.com/NLeSC/guide
license: CC-BY-4.0
Expand Down Expand Up @@ -109,7 +113,7 @@ authors:
- affiliation: "Netherlands eScience Center"
family-names: Zapata
given-names: Felipe
orcid: "https://orcid.org/0000-0001-8286-677X"
orcid: "https://orcid.org/0000-0001-8286-677X"
- affiliation: "Netherlands eScience Center"
family-names: Bakker
given-names: Tom
Expand Down
187 changes: 123 additions & 64 deletions CONTRIBUTING.md

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@

# Guide

This is a guide to software development at the Netherlands eScience Center.
It both serves as a source of information for how we work at the eScience
Center, and as a basis for discussions and reaching consensus on this topic.
This is a guide to software development at the Netherlands eScience Center. It
both serves as a source of information for how we work at the eScience Center,
and as a basis for discussions and reaching consensus on this topic.

**Read The Turing Way instead**

If you are looking for an overall picture of best practices, read
[The Turing Way](https://book.the-turing-way.org/index.html) first.
We joined forces with that guide for most of our generic research software
engineering advice.
Because The Turing Way is programming language agnostic, this guide provides
addtional specific
[language guides](language_guides/languages_overview.md).
We also provide [technology guides](technology/technology_overview.md) on digital technologies we use often in our projects with research partners.
*Please be aware that most remaining [best practices](/best_practices/overview.md) content is unmaintained,
be careful when using it.*
We plan on removing that content ([#286](https://github.com/NLeSC/guide/issues/286)).
[The Turing Way](https://book.the-turing-way.org/index.html) first. We joined
forces with that guide for most of our generic research software engineering
advice. Because The Turing Way is programming language agnostic, this guide
provides addtional specific
[language guides](language_guides/languages_overview.md). We also provide
[technology guides](technology/technology_overview.md) on digital technologies
we use often in our projects with research partners. _Please be aware that most
remaining [best practices](/best_practices/overview.md) content is unmaintained,
be careful when using it._ We plan on removing that content
([#286](https://github.com/NLeSC/guide/issues/286)).

If you would like to contribute to this book see [CONTRIBUTING.md](CONTRIBUTING.md).
If you would like to contribute to this book see
[CONTRIBUTING.md](CONTRIBUTING.md).
35 changes: 17 additions & 18 deletions _sidebar.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@

* [Introduction](/README.md)
* [Language Guides](/language_guides/languages_overview.md)
* [Bash](/language_guides/bash.md)
* [JavaScript and TypeScript](/language_guides/javascript.md)
* [Python](/language_guides/python.md)
* [R](/language_guides/r.md)
* [C and C++](/language_guides/ccpp.md)
* [Fortran](/language_guides/fortran.md)
* [Technology Guides](/technology/technology_overview.md)
* [GPU programming](/technology/gpu.md)
* [UX - User Experience](/technology/user_experience.md)
* [Datasets](/technology/datasets.md)
* [Best practices](/best_practices/overview.md)
* [Releases](/best_practices/releases.md)
* [Documentation](/best_practices/documentation.md)
* [Standards](/best_practices/standards.md)
* [Contributing to this Guide](/CONTRIBUTING.md)
- [Introduction](/README.md)
- [Language Guides](/language_guides/languages_overview.md)
- [Bash](/language_guides/bash.md)
- [JavaScript and TypeScript](/language_guides/javascript.md)
- [Python](/language_guides/python.md)
- [R](/language_guides/r.md)
- [C and C++](/language_guides/ccpp.md)
- [Fortran](/language_guides/fortran.md)
- [Technology Guides](/technology/technology_overview.md)
- [GPU programming](/technology/gpu.md)
- [UX - User Experience](/technology/user_experience.md)
- [Datasets](/technology/datasets.md)
- [Best practices](/best_practices/overview.md)
- [Releases](/best_practices/releases.md)
- [Documentation](/best_practices/documentation.md)
- [Standards](/best_practices/standards.md)
- [Contributing to this Guide](/CONTRIBUTING.md)
Loading

0 comments on commit 6230e3f

Please sign in to comment.