Petr Špaček
d101490250
Add hyperlinks to all unique statement names
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.
2022-07-04 15:50:50 +02:00
..
2022-07-04 15:50:50 +02:00
2022-07-04 15:50:50 +02:00
2022-06-14 18:08:22 +02:00
2022-05-11 10:51:26 +02:00
2022-01-11 09:05:02 +01:00
2022-07-04 15:50:50 +02:00
2022-07-04 15:50:50 +02:00
2022-07-04 15:50:50 +02:00
2022-07-04 15:50:50 +02:00