commit 96d81b3639219d383818f258a34d17b57792b8a4
parent edb595278fa098693b8d32dc5d9fc93a9dbb1a4f
Author: Vincent Forest <vaplv@free.fr>
Date: Fri, 1 Sep 2017 14:28:26 +0200
Tune the solstice-gen-refdoc script
Diffstat:
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/meso.css b/meso.css
@@ -1,5 +1,6 @@
body {
background-color: #e0e0e0;
+ color: #000000;
font-family: "Liberation Sans",sans-serif;
margin: 1em auto; /*auto;*/
text-align: center;
diff --git a/solstice-gen-refdoc.sh b/solstice-gen-refdoc.sh
@@ -116,9 +116,16 @@ for((i=0; i<${#man_pages[@]}; ++i)); do
print_header ${entry[0]} ${entry[1]} > $output
man2html -r $man_path | tail -n +30 | sed '/^<HR>$/,$d' | sed '/\ /d' | sed 's/<DL COMPACT>/<DL>/g' >> $output
if [ "${entry[0]}" == "solstice" ]; then
+ # Remove hyperlink on csplit, feh and sed commands
sed -i 's/<B><A HREF="\.\.\/man1\/csplit\.1\.html">csplit<\/A><\/B>/csplit/g' $output
sed -i 's/<B><A HREF="\.\.\/man1\/feh\.1\.html">feh<\/A><\/B>/feh/g' $output
sed -i 's/<B><A HREF="\.\.\/man1\/sed\.1\.html">sed<\/A><\/B>/sed/g' $output
+
+ # Fix the hyperlink toward the GPLv3+ license
+ sed -i 's/gpl\.html\.">\(.*\).<\/A>/gpl.html">\1<\/A>./g' $output
+ fi
+ if [ "${entry[0]}" == "solstice-input" -o "${entry[0]}" == "solstice-receiver" ]; then
+ sed -i "s/\<Aincqt\>/Ain't/g" $output
fi
print_footer ${entry[0]} ${entry[1]} >> $output
done