mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 03:51:16 -05:00
This shell script added hyperlinks to all unique statement names:
UNIQSTATEMENTS=$(\
sort \
<(git grep '.. namedconf:statement::' '*.rst' | sed -e 's/^.*:: //') \
<(git grep '.. rndcconf:statement::' '*.rst' | sed -e 's/^.*:: //') \
| uniq --unique)
ARMFILES=$(git ls-files 'doc/*.rst' | grep -v 'doc/man')
for STATEMENT in $UNIQSTATEMENTS; \
do sed -i -e "s/\`\`$STATEMENT\`\`/:any:\`$STATEMENT\`/g" $ARMFILES; \
done
This needs manual cleanup (see next commit) to fix syntax errors.
|
||
|---|---|---|
| .. | ||
| notes-9.19.0.rst | ||
| notes-9.19.1.rst | ||
| notes-9.19.2.rst | ||
| notes-current.rst | ||