Skip to content

Commit

Permalink
doc: fix links in generated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
valery1707 authored and ncw committed Mar 1, 2020
1 parent b1b5e09 commit f6f9582
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/make_manual.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
12 changes: 6 additions & 6 deletions docs/content/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f6f9582

Please sign in to comment.