Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

docs: add "make validate_website" and fix validation errors

Nick Craig-Wood06427371eb76
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 @@
<i class="fab fa-twitter" aria-hidden="true"></i> <a href="https://twitter.com/intent/tweet/?text=rclone%20-%20rsync%20for%20cloud%20storage%20from%20%40njcw&amp;url=https%3A%2F%2Frclone.org" target="_blank" rel="noopener" aria-label="Share on Twitter">Twitter.</a><br />
<i class="fab fa-facebook" aria-hidden="true"></i> <a href="https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Frclone.org" target="_blank" rel="noopener" aria-label="Share on Facebook">Facebook.</a><br />
<i class="fab fa-reddit" aria-hidden="true"></i> <a href="https://reddit.com/submit/?url=https%3A%2F%2Frclone.org&amp;resubmit=true&amp;title=rclone%20-%20rsync%20for%20cloud%20storage" target="_blank" rel="noopener" aria-label="Share on Reddit">Reddit.</a><br />
- <iframe src="//ghbtns.com/github-btn.html?user=rclone&repo=rclone&type=star&count=true" allowtransparency="true" frameborder="0" scrolling="0" width="120px" height="20"></iframe>
+ <iframe src="//ghbtns.com/github-btn.html?user=rclone&amp;repo=rclone&amp;type=star&amp;count=true" allowtransparency="true" frameborder="0" scrolling="no" width="120" height="20"></iframe>
</p>
</div>
</div>
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 @@
</div>
</li>
<li class="nav-item active">
- <a class="nav-link" href="/contact/"><i class="fa fa-envelope"></i> Contact</a></li>
+ <a class="nav-link" href="/contact/"><i class="fa fa-envelope"></i> Contact</a>
</li>
<li class="nav-item active">
- <a class="nav-link" href="/donate/"><i class="fa fa-heart heart"></i> Donate</a></li>
+ <a class="nav-link" href="/donate/"><i class="fa fa-heart heart"></i> Donate</a>
</li>
</ul>
</div>