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

doc: fix links in generated documentation

Valeriy.Vyrvaf6f95822c1ad
diff --git a/bin/make_manual.py b/bin/make_manual.py
index 9e3588256..c85ef44d4 100755
--- a/bin/make_manual.py
+++ b/bin/make_manual.py
@@ -110,7 +110,7 @@ def read_doc(doc):
# Remove icons
contents = re.sub(r'<i class="fa.*?</i>\s*', "", contents)
# Make [...](/links/) absolute
- contents = re.sub(r'\((\/.*?\/)\)', r"(https://rclone.org\1)", contents)
+ contents = re.sub(r'\]\((\/.*?\/(#.*)?)\)', r"](https://rclone.org\1)", contents)
# Interpret provider shortcode
# {{< provider name="Amazon S3" home="https://aws.amazon.com/s3/" config="/s3/" >}}
contents = re.sub(r'\{\{<\s+provider.*?name="(.*?)".*?>\}\}', r"\1", contents)
diff --git a/docs/content/changelog.md b/docs/content/changelog.md
index 23f64599f..642e0ec95 100644
--- a/docs/content/changelog.md
+++ b/docs/content/changelog.md
@@ -9,8 +9,8 @@ date: "2020-02-01"
## v1.51.0 - 2020-02-01
* New backends
- * [Memory](/memory) (Nick Craig-Wood)
- * [Sugarsync](/sugarsync) (Nick Craig-Wood)
+ * [Memory](/memory/) (Nick Craig-Wood)
+ * [Sugarsync](/sugarsync/) (Nick Craig-Wood)
* New Features
* Adjust all backends to have `--backend-encoding` parameter (Nick Craig-Wood)
* this enables the encoding for special characters to be adjusted or disabled
@@ -165,9 +165,9 @@ date: "2020-02-01"
## v1.50.0 - 2019-10-26
* New backends
- * [Citrix Sharefile](/sharefile) (Nick Craig-Wood)
- * [Chunker](/chunker) - an overlay backend to split files into smaller parts (Ivan Andreev)
- * [Mail.ru Cloud](/mailru) (Ivan Andreev)
+ * [Citrix Sharefile](/sharefile/) (Nick Craig-Wood)
+ * [Chunker](/chunker/) - an overlay backend to split files into smaller parts (Ivan Andreev)
+ * [Mail.ru Cloud](/mailru/) (Ivan Andreev)
* New Features
* encodings (Fabian Möller & Nick Craig-Wood)
* All backends now use file name encoding to ensure any file name can be written to any backend.
@@ -320,7 +320,7 @@ date: "2020-02-01"
* New backends
* [1fichier](/fichier/) (Laura Hausmann)
- * [Google Photos](/googlephotos) (Nick Craig-Wood)
+ * [Google Photos](/googlephotos/) (Nick Craig-Wood)
* [Putio](/putio/) (Cenk Alti)
* [premiumize.me](/premiumizeme/) (Nick Craig-Wood)
* New Features