-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,714 additions
and
829 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,15 +18,23 @@ jobs: | |
# strip citations and references | ||
sed -ri 's/\[@[A-Za-z0-9_ ;@-]+\]//g' $file | ||
sed -ri 's/[^#\[][@#][A-Za-z0-9_ ;@-]+:[A-Za-z0-9_ ;@-]+}*//g' $file | ||
sed -ri 's/@[A-Za-z0-9_]+//g' $file | ||
# strip words that escape the spellchecker allowlist | ||
sed -i 's/Dr.-Ing.//g; s/Ph.D.//g; s/M.Sc.//g; s/B.Sc.//g; ' $file | ||
sed -i 's/Dr.-Ing.//g; s/Ph.D.//g; s/M.Sc.//g; s/B.Sc.//g; s/Fortran//g;' $file | ||
# latex commands | ||
grep -P -oh -e "(?<=[\\\\\{])[A-Za-z]+" $file | sort | uniq >> .github/spellignore.txt | ||
# RSE compositions | ||
grep -P -oh -e "[\w-]*RSE[\w-]*" $file | sort | uniq >> .github/spellignore.txt | ||
# remove header | ||
sed -i '1,/---/{/^---$/,/^---$/d}' $file | ||
done | ||
- name: "populate spellignore with author names" | ||
uses: mikefarah/yq@master | ||
with: | ||
cmd: | | ||
yq '.authors[] | .lastName' contributors.yml | sed 's/ /\n/g; /null/d' >> .github/spellignore.txt | ||
yq '.authors[] | .firstName' contributors.yml | sed 's/ /\n/g; /null/d' >> .github/spellignore.txt | ||
yq '.authors[] | .suffixName' contributors.yml | sed 's/ /\n/g; /null/d' >> .github/spellignore.txt | ||
- uses: eschercloudai/[email protected] | ||
with: | ||
files-to-check: "competencies.md|call_to_action.md|survey.md|institutionalised_education.md|intro.md" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
call_to_action.pdf | ||
competencies.pdf | ||
institutionalized_education.pdf | ||
institutionalised_education.pdf | ||
intro.pdf | ||
survey.pdf | ||
build/ | ||
|
||
# Generated automatically by template.py | ||
template.tex |
Oops, something went wrong.