From 06427371eb76d3dfa467587ef2a3f6240caa5cc2 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 22 May 2020 11:20:51 +0100 Subject: [PATCH] docs: add "make validate_website" and fix validation errors --- Makefile | 4 ++++ docs/layouts/chrome/menu.html | 2 +- docs/layouts/chrome/navbar.html | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) 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.
- +

diff --git a/docs/layouts/chrome/navbar.html b/docs/layouts/chrome/navbar.html index 5dc985f9d..de9eef0ff 100644 --- a/docs/layouts/chrome/navbar.html +++ b/docs/layouts/chrome/navbar.html @@ -103,10 +103,10 @@ + Contact + Donate