diff --git a/Makefile b/Makefile
index e2ebd4078..c9c9deed2 100644
--- a/Makefile
+++ b/Makefile
@@ -136,6 +136,7 @@ clean:
rm -f rclone fs/operations/operations.test fs/sync/sync.test fs/test_all.log test.log
website:
+ rm -rf docs/public
cd docs && hugo
upload_website: website
@@ -144,6 +145,9 @@ upload_website: website
upload_test_website: website
rclone -P sync docs/public test-rclone-org:
+validate_website: website
+ find docs/public -type f -name "*.html" | xargs tidy --mute-id yes -errors --gnu-emacs yes --drop-empty-elements no --warn-proprietary-attributes no --mute MISMATCHED_ATTRIBUTE_WARN
+
tarball:
git archive -9 --format=tar.gz --prefix=rclone-$(TAG)/ -o build/rclone-$(TAG).tar.gz $(TAG)
diff --git a/docs/layouts/chrome/menu.html b/docs/layouts/chrome/menu.html
index bf626ea27..a3bf93537 100644
--- a/docs/layouts/chrome/menu.html
+++ b/docs/layouts/chrome/menu.html
@@ -8,7 +8,7 @@
Twitter.
Facebook.
Reddit.
-
+