This commit is contained in:
Stavros Korokithakis
2021-12-15 02:41:34 +02:00
parent 22388bed8f
commit e81cae09c6
6 changed files with 68 additions and 8 deletions

7
build
View File

@@ -14,9 +14,12 @@ else
./mdbook build -d public
fi
cp -R static/* public/
# Work around some print.html bugs.
sed -i "s/\(href\|src\)=\"[[:alnum:]\-]*\/\//\1=\"\//g" public/print.html
./move_html_to_dir public/
# Make checkboxes editable, just in case the user wants to keep their own checklist.
find public/ -name "*.html" -type f -exec sed -i 's/input disabled=""/input/g' {} +
cp -R static/* public/