diff --git a/doc/support/generate.sh b/doc/support/generate.sh
index f5785c64..f85e4d3c 100755
--- a/doc/support/generate.sh
+++ b/doc/support/generate.sh
@@ -43,7 +43,10 @@ done
# Move doc/index.html to index.html, adjusting relative paths to other files in
# doc.
+base_url=https://crashpad-home.appspot.com/
${sed_ext} -e 's%%%g' \
+ -e 's%%%g' \
+ -e 's% "${output_dir}/index.html"
rm "${output_dir}/doc/index.html"