doc: fix links in generated documentation
This commit is contained in:
parent
b1b5e09081
commit
f6f95822c1
2 changed files with 7 additions and 7 deletions
|
@ -110,7 +110,7 @@ def read_doc(doc):
|
||||||
# Remove icons
|
# Remove icons
|
||||||
contents = re.sub(r'<i class="fa.*?</i>\s*', "", contents)
|
contents = re.sub(r'<i class="fa.*?</i>\s*', "", contents)
|
||||||
# Make [...](/links/) absolute
|
# 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
|
# Interpret provider shortcode
|
||||||
# {{< provider name="Amazon S3" home="https://aws.amazon.com/s3/" config="/s3/" >}}
|
# {{< provider name="Amazon S3" home="https://aws.amazon.com/s3/" config="/s3/" >}}
|
||||||
contents = re.sub(r'\{\{<\s+provider.*?name="(.*?)".*?>\}\}', r"\1", contents)
|
contents = re.sub(r'\{\{<\s+provider.*?name="(.*?)".*?>\}\}', r"\1", contents)
|
||||||
|
|
|
@ -9,8 +9,8 @@ date: "2020-02-01"
|
||||||
## v1.51.0 - 2020-02-01
|
## v1.51.0 - 2020-02-01
|
||||||
|
|
||||||
* New backends
|
* New backends
|
||||||
* [Memory](/memory) (Nick Craig-Wood)
|
* [Memory](/memory/) (Nick Craig-Wood)
|
||||||
* [Sugarsync](/sugarsync) (Nick Craig-Wood)
|
* [Sugarsync](/sugarsync/) (Nick Craig-Wood)
|
||||||
* New Features
|
* New Features
|
||||||
* Adjust all backends to have `--backend-encoding` parameter (Nick Craig-Wood)
|
* Adjust all backends to have `--backend-encoding` parameter (Nick Craig-Wood)
|
||||||
* this enables the encoding for special characters to be adjusted or disabled
|
* 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
|
## v1.50.0 - 2019-10-26
|
||||||
|
|
||||||
* New backends
|
* New backends
|
||||||
* [Citrix Sharefile](/sharefile) (Nick Craig-Wood)
|
* [Citrix Sharefile](/sharefile/) (Nick Craig-Wood)
|
||||||
* [Chunker](/chunker) - an overlay backend to split files into smaller parts (Ivan Andreev)
|
* [Chunker](/chunker/) - an overlay backend to split files into smaller parts (Ivan Andreev)
|
||||||
* [Mail.ru Cloud](/mailru) (Ivan Andreev)
|
* [Mail.ru Cloud](/mailru/) (Ivan Andreev)
|
||||||
* New Features
|
* New Features
|
||||||
* encodings (Fabian Möller & Nick Craig-Wood)
|
* 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.
|
* 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
|
* New backends
|
||||||
* [1fichier](/fichier/) (Laura Hausmann)
|
* [1fichier](/fichier/) (Laura Hausmann)
|
||||||
* [Google Photos](/googlephotos) (Nick Craig-Wood)
|
* [Google Photos](/googlephotos/) (Nick Craig-Wood)
|
||||||
* [Putio](/putio/) (Cenk Alti)
|
* [Putio](/putio/) (Cenk Alti)
|
||||||
* [premiumize.me](/premiumizeme/) (Nick Craig-Wood)
|
* [premiumize.me](/premiumizeme/) (Nick Craig-Wood)
|
||||||
* New Features
|
* New Features
|
||||||
|
|
Loading…
Reference in a new issue