Skip to content
Snippets Groups Projects
Commit 1c5c56ab authored by Jan Frenzel's avatar Jan Frenzel
Browse files

Merge branch 'issue-185' into 'preview'

Added pattern for links in grep-forbidden-words.sh and some description

Closes #185

See merge request !358
parents d813f6a7 c93265b7
No related branches found
No related tags found
3 merge requests!392Merge preview into contrib guide for browser users,!366Merge preview into main,!358Added pattern for links in grep-forbidden-words.sh and some description
...@@ -465,6 +465,8 @@ should be highlighted, etc. Code examples, longer than half screen height should ...@@ -465,6 +465,8 @@ should be highlighted, etc. Code examples, longer than half screen height should
**TODO** Guide [Issue #14](#14) **TODO** Guide [Issue #14](#14)
* Capitalize headings, e.g. *Exclusive Reservation of Hardware* * Capitalize headings, e.g. *Exclusive Reservation of Hardware*
* Give keywords in link texts, e.g. [Code Blocks](#code-blocks-and-syntax-highlighting) is more
descriptive than [this subsection](#code-blocks-and-syntax-highlighting)
### Spelling and Technical Wording ### Spelling and Technical Wording
......
...@@ -48,10 +48,12 @@ echo "" ...@@ -48,10 +48,12 @@ echo ""
for f in $files; do for f in $files; do
if [ "${f: -3}" == ".md" ]; then if [ "${f: -3}" == ".md" ]; then
# do not check links for deleted files # do not check links for deleted files
if [ -e $f ]; then if [ "$f" != "doc.zih.tu-dresden.de/README.md" ]; then
echo "Checking links for $f" if [ -e $f ]; then
if ! $mlc -q -p "$f"; then echo "Checking links for $f"
any_fails=true if ! $mlc -q -p "$f"; then
any_fails=true
fi
fi fi
fi fi
fi fi
......
...@@ -19,6 +19,7 @@ i \<taurus\> taurus\.hrsk /taurus /TAURUS ...@@ -19,6 +19,7 @@ i \<taurus\> taurus\.hrsk /taurus /TAURUS
i \<hrskii\> i \<hrskii\>
i hpc[ -]\+da\> i hpc[ -]\+da\>
i \(alpha\|ml\|haswell\|romeo\|gpu\|smp\|julia\|hpdlf\|scs5\)-\?\(interactive\)\?[^a-z]*partition i \(alpha\|ml\|haswell\|romeo\|gpu\|smp\|julia\|hpdlf\|scs5\)-\?\(interactive\)\?[^a-z]*partition
i \[\s\?\(documentation\|here\|this \(link\|page\|subsection\)\|slides\?\|manpage\)\s\?\]
i work[ -]\+space" i work[ -]\+space"
# Whitelisted files will be ignored # Whitelisted files will be ignored
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment