diff --git a/build b/build index c763b8c..8f58e88 100755 --- a/build +++ b/build @@ -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/ diff --git a/content/ardupilot/ardupilot-setup-checklist.md b/content/ardupilot/ardupilot-setup-checklist.md index 832b42e..d43f8a4 100644 --- a/content/ardupilot/ardupilot-setup-checklist.md +++ b/content/ardupilot/ardupilot-setup-checklist.md @@ -13,7 +13,7 @@ It's called Parachute, and you can download it here: ## Building ArduPilot -See [Building ArduPilot](/ardupilot/building-ardupilot) for instructions on how to build the latest version. +See [Building ArduPilot](/ardupilot/building-ardupilot.html) for instructions on how to build the latest version. ## Hardware setup @@ -98,7 +98,7 @@ The values in this section are specific to the Omnibus F4, but the settings aren ## Recommended settings. -See the [recommended settings](/ardupilot/ardupilot-recommended-settings) page for other recommended defaults. +See the [recommended settings](/ardupilot/ardupilot-recommended-settings.html) page for other recommended defaults. ## In the field - [ ] Run an autotune. diff --git a/content/ardupilot/tecs-tuning-calculator.md b/content/ardupilot/tecs-tuning-calculator.md index 2b6a4de..c2226a7 100644 --- a/content/ardupilot/tecs-tuning-calculator.md +++ b/content/ardupilot/tecs-tuning-calculator.md @@ -1,6 +1,6 @@ # TECS tuning calculator -To use this calculator, first follow the steps in [Tuning the TECS](/ardupilot/tuning-the-tecs). +To use this calculator, first follow the steps in [Tuning the TECS](/ardupilot/tuning-the-tecs.html).