blob: 14bd8ed52b9b8b654e07e8b240cb3eda764843a1 (
plain) (
tree)
|
|
#!/bin/bash
# Regenerate html files.
for f in *.cc *.mu
do
vim -c "TOhtml | w | qa" $f
mv $f.html html
done
sed -i 's,<title>\~/Desktop/s/mu/,<title>Mu - ,' html/*
sed -i 's,\.html</title>,</title>,' html/*
sed -i 's/^\*.*/* { font-size: 1.05em; }/g' html/*
# tweak contrast
sed -i 's/^\.Constant .*/.Constant { color: #00a0a0; }/' html/*
sed -i 's/^\.muControl .*/.muControl { color: #c0a020; }/' html/*
sed -i 's/^\.Comment .*/.Comment { color: #9090ff; }/' html/*
sed -i 's/^\.Delimiter .*/.Delimiter { color: #a04060; }/' html/* # not meant to be read/ can be lower-contrast
|