mirror of
https://github.com/rclone/rclone.git
synced 2025-08-09 21:57:59 +02:00
Update references from HTTP to HTTPS where possible
This commit is contained in:
@ -81,7 +81,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"(http://rclone.org\1)", contents)
|
||||
contents = re.sub(r'\((\/.*?\/)\)', r"(https://rclone.org\1)", contents)
|
||||
return contents
|
||||
|
||||
def check_docs(docpath):
|
||||
|
Reference in New Issue
Block a user