docs: Add minimum versions to all the backend pages and some of the other pages

This commit is contained in:
Nick Craig-Wood 2022-11-17 17:56:24 +00:00
parent 03b07c280c
commit 959cd938bc
58 changed files with 74 additions and 0 deletions

17
bin/backend-versions.sh Executable file
View file

@ -0,0 +1,17 @@
#!/bin/bash
# This adds the version each backend was released to its docs page
set -e
for backend in $( find backend -maxdepth 1 -type d ); do
backend=$(basename $backend)
if [[ "$backend" == "backend" || "$backend" == "vfs" || "$backend" == "all" || "$backend" == "azurefile" ]]; then
continue
fi
commit=$(git log --oneline -- $backend | tail -1 | cut -d' ' -f1)
if [ "$commit" == "" ]; then
commit=$(git log --oneline -- backend/$backend | tail -1 | cut -d' ' -f1)
fi
version=$(git tag --contains $commit | grep ^v | sort -n | head -1)
echo $backend $version
sed -i~ "4i versionIntroduced: \"$version\"" docs/content/${backend}.md
done

View file

@ -1,6 +1,7 @@
--- ---
title: "Alias" title: "Alias"
description: "Remote Aliases" description: "Remote Aliases"
versionIntroduced: "v1.40"
--- ---
# {{< icon "fa fa-link" >}} Alias # {{< icon "fa fa-link" >}} Alias

View file

@ -1,6 +1,7 @@
--- ---
title: "Amazon Drive" title: "Amazon Drive"
description: "Rclone docs for Amazon Drive" description: "Rclone docs for Amazon Drive"
versionIntroduced: "v1.20"
--- ---
# {{< icon "fab fa-amazon" >}} Amazon Drive # {{< icon "fab fa-amazon" >}} Amazon Drive

View file

@ -1,6 +1,7 @@
--- ---
title: "Microsoft Azure Blob Storage" title: "Microsoft Azure Blob Storage"
description: "Rclone docs for Microsoft Azure Blob Storage" description: "Rclone docs for Microsoft Azure Blob Storage"
versionIntroduced: "v1.38"
--- ---
# {{< icon "fab fa-windows" >}} Microsoft Azure Blob Storage # {{< icon "fab fa-windows" >}} Microsoft Azure Blob Storage

View file

@ -1,6 +1,7 @@
--- ---
title: "B2" title: "B2"
description: "Backblaze B2" description: "Backblaze B2"
versionIntroduced: "v1.26"
--- ---
# {{< icon "fa fa-fire" >}} Backblaze B2 # {{< icon "fa fa-fire" >}} Backblaze B2

View file

@ -1,6 +1,7 @@
--- ---
title: "Bisync" title: "Bisync"
description: "Bidirectional cloud sync solution in rclone" description: "Bidirectional cloud sync solution in rclone"
versionIntroduced: "v1.58.0"
--- ---
## Getting started {#getting-started} ## Getting started {#getting-started}

View file

@ -1,6 +1,7 @@
--- ---
title: "Box" title: "Box"
description: "Rclone docs for Box" description: "Rclone docs for Box"
versionIntroduced: "v1.38"
--- ---
# {{< icon "fa fa-archive" >}} Box # {{< icon "fa fa-archive" >}} Box

View file

@ -1,6 +1,7 @@
--- ---
title: "Cache" title: "Cache"
description: "Rclone docs for cache remote" description: "Rclone docs for cache remote"
versionIntroduced: "v1.39"
--- ---
# {{< icon "fa fa-archive" >}} Cache (DEPRECATED) # {{< icon "fa fa-archive" >}} Cache (DEPRECATED)

View file

@ -1,6 +1,7 @@
--- ---
title: "Chunker" title: "Chunker"
description: "Split-chunking overlay remote" description: "Split-chunking overlay remote"
versionIntroduced: "v1.50.0"
--- ---
# {{< icon "fa fa-cut" >}}Chunker (BETA) # {{< icon "fa fa-cut" >}}Chunker (BETA)

View file

@ -1,6 +1,7 @@
--- ---
title: "Combine" title: "Combine"
description: "Combine several remotes into one" description: "Combine several remotes into one"
versionIntroduced: "v1.59.0"
--- ---
# {{< icon "fa fa-folder-plus" >}} Combine # {{< icon "fa fa-folder-plus" >}} Combine

View file

@ -1,6 +1,7 @@
--- ---
title: "Compress" title: "Compress"
description: "Compression Remote" description: "Compression Remote"
versionIntroduced: "v1.54.0"
--- ---
# {{< icon "fas fa-compress" >}}Compress (Experimental) # {{< icon "fas fa-compress" >}}Compress (Experimental)

View file

@ -1,6 +1,7 @@
--- ---
title: "Crypt" title: "Crypt"
description: "Encryption overlay remote" description: "Encryption overlay remote"
versionIntroduced: "v1.33"
--- ---
# {{< icon "fa fa-lock" >}}Crypt # {{< icon "fa fa-lock" >}}Crypt

View file

@ -1,6 +1,7 @@
--- ---
title: "Docker Volume Plugin" title: "Docker Volume Plugin"
description: "Docker Volume Plugin" description: "Docker Volume Plugin"
versionIntroduced: "v1.56.0"
--- ---
# Docker Volume Plugin # Docker Volume Plugin

View file

@ -1,6 +1,7 @@
--- ---
title: "Google drive" title: "Google drive"
description: "Rclone docs for Google drive" description: "Rclone docs for Google drive"
versionIntroduced: "v0.91"
--- ---
# {{< icon "fab fa-google" >}} Google Drive # {{< icon "fab fa-google" >}} Google Drive

View file

@ -1,6 +1,7 @@
--- ---
title: "Dropbox" title: "Dropbox"
description: "Rclone docs for Dropbox" description: "Rclone docs for Dropbox"
versionIntroduced: "v1.02"
--- ---
# {{< icon "fab fa-dropbox" >}} Dropbox # {{< icon "fab fa-dropbox" >}} Dropbox

View file

@ -1,6 +1,7 @@
--- ---
title: "1Fichier" title: "1Fichier"
description: "Rclone docs for 1Fichier" description: "Rclone docs for 1Fichier"
versionIntroduced: "v1.49.0"
--- ---
# {{< icon "fa fa-archive" >}} 1Fichier # {{< icon "fa fa-archive" >}} 1Fichier

View file

@ -1,6 +1,7 @@
--- ---
title: "Enterprise File Fabric" title: "Enterprise File Fabric"
description: "Rclone docs for the Enterprise File Fabric backend" description: "Rclone docs for the Enterprise File Fabric backend"
versionIntroduced: "v1.54.0"
--- ---
# {{< icon "fa fa-cloud" >}} Enterprise File Fabric # {{< icon "fa fa-cloud" >}} Enterprise File Fabric

View file

@ -1,6 +1,7 @@
--- ---
title: "Rclone Filtering" title: "Rclone Filtering"
description: "Rclone filtering, includes and excludes" description: "Rclone filtering, includes and excludes"
versionIntroduced: "v1.22"
--- ---
# Filtering, includes and excludes # Filtering, includes and excludes

View file

@ -1,6 +1,7 @@
--- ---
title: "FTP" title: "FTP"
description: "Rclone docs for FTP backend" description: "Rclone docs for FTP backend"
versionIntroduced: "v1.37"
--- ---
# {{< icon "fa fa-file" >}} FTP # {{< icon "fa fa-file" >}} FTP

View file

@ -1,6 +1,7 @@
--- ---
title: "Google Cloud Storage" title: "Google Cloud Storage"
description: "Rclone docs for Google Cloud Storage" description: "Rclone docs for Google Cloud Storage"
versionIntroduced: "v1.02"
--- ---
# {{< icon "fab fa-google" >}} Google Cloud Storage # {{< icon "fab fa-google" >}} Google Cloud Storage

View file

@ -1,6 +1,7 @@
--- ---
title: "Google Photos" title: "Google Photos"
description: "Rclone docs for Google Photos" description: "Rclone docs for Google Photos"
versionIntroduced: "v1.49.0"
--- ---
# {{< icon "fa fa-images" >}} Google Photos # {{< icon "fa fa-images" >}} Google Photos

View file

@ -1,6 +1,7 @@
--- ---
title: "GUI" title: "GUI"
description: "Web based Graphical User Interface" description: "Web based Graphical User Interface"
versionIntroduced: "v1.49.0"
--- ---
# GUI (Experimental) # GUI (Experimental)

View file

@ -1,6 +1,7 @@
--- ---
title: "Hasher" title: "Hasher"
description: "Better checksums for other remotes" description: "Better checksums for other remotes"
versionIntroduced: "v1.57.0"
--- ---
# {{< icon "fa fa-check-double" >}} Hasher (EXPERIMENTAL) # {{< icon "fa fa-check-double" >}} Hasher (EXPERIMENTAL)

View file

@ -1,6 +1,7 @@
--- ---
title: "HDFS Remote" title: "HDFS Remote"
description: "Remote for Hadoop Distributed Filesystem" description: "Remote for Hadoop Distributed Filesystem"
versionIntroduced: "v1.54.0"
--- ---
# {{< icon "fa fa-globe" >}} HDFS # {{< icon "fa fa-globe" >}} HDFS

View file

@ -1,6 +1,7 @@
--- ---
title: "HiDrive" title: "HiDrive"
description: "Rclone docs for HiDrive" description: "Rclone docs for HiDrive"
versionIntroduced: "v1.59.0"
--- ---
# {{< icon "fa fa-cloud" >}} HiDrive # {{< icon "fa fa-cloud" >}} HiDrive

View file

@ -1,6 +1,7 @@
--- ---
title: "HTTP Remote" title: "HTTP Remote"
description: "Read only remote for HTTP servers" description: "Read only remote for HTTP servers"
versionIntroduced: "v1.37"
--- ---
# {{< icon "fa fa-globe" >}} HTTP # {{< icon "fa fa-globe" >}} HTTP

View file

@ -1,6 +1,7 @@
--- ---
title: "Internet Archive" title: "Internet Archive"
description: "Rclone docs for Internet Archive" description: "Rclone docs for Internet Archive"
versionIntroduced: "v1.59.0"
--- ---
# {{< icon "fa fa-archive" >}} Internet Archive # {{< icon "fa fa-archive" >}} Internet Archive

View file

@ -1,6 +1,7 @@
--- ---
title: "Jottacloud" title: "Jottacloud"
description: "Rclone docs for Jottacloud" description: "Rclone docs for Jottacloud"
versionIntroduced: "v1.43"
--- ---
# {{< icon "fa fa-cloud" >}} Jottacloud # {{< icon "fa fa-cloud" >}} Jottacloud

View file

@ -1,6 +1,7 @@
--- ---
title: "Koofr" title: "Koofr"
description: "Rclone docs for Koofr" description: "Rclone docs for Koofr"
versionIntroduced: "v1.47.0"
--- ---
# {{< icon "fa fa-suitcase" >}} Koofr # {{< icon "fa fa-suitcase" >}} Koofr

View file

@ -1,6 +1,7 @@
--- ---
title: "Local Filesystem" title: "Local Filesystem"
description: "Rclone docs for the local filesystem" description: "Rclone docs for the local filesystem"
versionIntroduced: "v0.91"
--- ---
# {{< icon "fas fa-hdd" >}} Local Filesystem # {{< icon "fas fa-hdd" >}} Local Filesystem

View file

@ -1,6 +1,7 @@
--- ---
title: "Mailru" title: "Mailru"
description: "Mail.ru Cloud" description: "Mail.ru Cloud"
versionIntroduced: "v1.50.0"
--- ---
# {{< icon "fas fa-at" >}} Mail.ru Cloud # {{< icon "fas fa-at" >}} Mail.ru Cloud

View file

@ -1,6 +1,7 @@
--- ---
title: "Mega" title: "Mega"
description: "Rclone docs for Mega" description: "Rclone docs for Mega"
versionIntroduced: "v1.41"
--- ---
# {{< icon "fa fa-archive" >}} Mega # {{< icon "fa fa-archive" >}} Mega

View file

@ -1,6 +1,7 @@
--- ---
title: "Memory" title: "Memory"
description: "Rclone docs for Memory backend" description: "Rclone docs for Memory backend"
versionIntroduced: "v1.51.0"
--- ---
# {{< icon "fas fa-memory" >}} Memory # {{< icon "fas fa-memory" >}} Memory

View file

@ -1,6 +1,7 @@
--- ---
title: "Akamai Netstorage" title: "Akamai Netstorage"
description: "Rclone docs for Akamai NetStorage" description: "Rclone docs for Akamai NetStorage"
versionIntroduced: "v1.58.0"
--- ---
# {{< icon "fas fa-database" >}} Akamai NetStorage # {{< icon "fas fa-database" >}} Akamai NetStorage

View file

@ -1,6 +1,7 @@
--- ---
title: "Microsoft OneDrive" title: "Microsoft OneDrive"
description: "Rclone docs for Microsoft OneDrive" description: "Rclone docs for Microsoft OneDrive"
versionIntroduced: "v1.24"
--- ---
# {{< icon "fab fa-windows" >}} Microsoft OneDrive # {{< icon "fab fa-windows" >}} Microsoft OneDrive

View file

@ -1,6 +1,7 @@
--- ---
title: "OpenDrive" title: "OpenDrive"
description: "Rclone docs for OpenDrive" description: "Rclone docs for OpenDrive"
versionIntroduced: "v1.42"
--- ---
# {{< icon "fa fa-file" >}} OpenDrive # {{< icon "fa fa-file" >}} OpenDrive

View file

@ -1,6 +1,7 @@
--- ---
title: "Oracle Object Storage" title: "Oracle Object Storage"
description: "Rclone docs for Oracle Object Storage" description: "Rclone docs for Oracle Object Storage"
versionIntroduced: "v1.60.0"
--- ---
# {{< icon "fa fa-cloud" >}} Oracle Object Storage # {{< icon "fa fa-cloud" >}} Oracle Object Storage

View file

@ -1,6 +1,7 @@
--- ---
title: "pCloud" title: "pCloud"
description: "Rclone docs for pCloud" description: "Rclone docs for pCloud"
versionIntroduced: "v1.39"
--- ---
# {{< icon "fa fa-cloud" >}} pCloud # {{< icon "fa fa-cloud" >}} pCloud

View file

@ -1,6 +1,7 @@
--- ---
title: "premiumize.me" title: "premiumize.me"
description: "Rclone docs for premiumize.me" description: "Rclone docs for premiumize.me"
versionIntroduced: "v1.49.0"
--- ---
# {{< icon "fa fa-user" >}} premiumize.me # {{< icon "fa fa-user" >}} premiumize.me

View file

@ -1,6 +1,7 @@
--- ---
title: "put.io" title: "put.io"
description: "Rclone docs for put.io" description: "Rclone docs for put.io"
versionIntroduced: "v1.49.0"
--- ---
# {{< icon "fas fa-parking" >}} put.io # {{< icon "fas fa-parking" >}} put.io

View file

@ -1,6 +1,7 @@
--- ---
title: "QingStor" title: "QingStor"
description: "Rclone docs for QingStor Object Storage" description: "Rclone docs for QingStor Object Storage"
versionIntroduced: "v1.38"
--- ---
# {{< icon "fas fa-hdd" >}} QingStor # {{< icon "fas fa-hdd" >}} QingStor

View file

@ -1,6 +1,7 @@
--- ---
title: "Remote Control / API" title: "Remote Control / API"
description: "Remote controlling rclone with its API" description: "Remote controlling rclone with its API"
versionIntroduced: "v1.40"
--- ---
# Remote controlling rclone with its API # Remote controlling rclone with its API

View file

@ -1,6 +1,7 @@
--- ---
title: "Amazon S3" title: "Amazon S3"
description: "Rclone docs for Amazon S3" description: "Rclone docs for Amazon S3"
versionIntroduced: "v0.91"
--- ---
# {{< icon "fab fa-amazon" >}} Amazon S3 Storage Providers # {{< icon "fab fa-amazon" >}} Amazon S3 Storage Providers

View file

@ -1,6 +1,7 @@
--- ---
title: "Seafile" title: "Seafile"
description: "Seafile" description: "Seafile"
versionIntroduced: "v1.52.0"
--- ---
# {{< icon "fa fa-server" >}}Seafile # {{< icon "fa fa-server" >}}Seafile

View file

@ -1,6 +1,7 @@
--- ---
title: "SFTP" title: "SFTP"
description: "SFTP" description: "SFTP"
versionIntroduced: "v1.36"
--- ---
# {{< icon "fa fa-server" >}} SFTP # {{< icon "fa fa-server" >}} SFTP

View file

@ -1,6 +1,7 @@
--- ---
title: "Citrix ShareFile" title: "Citrix ShareFile"
description: "Rclone docs for Citrix ShareFile" description: "Rclone docs for Citrix ShareFile"
versionIntroduced: "v1.50.0"
--- ---
# {{< icon "fas fa-share-square" >}} Citrix ShareFile # {{< icon "fas fa-share-square" >}} Citrix ShareFile

View file

@ -1,6 +1,7 @@
--- ---
title: "Sia" title: "Sia"
description: "Remote for Sia Decentralized Cloud" description: "Remote for Sia Decentralized Cloud"
versionIntroduced: "v1.57.0"
date: "2019-10-02" date: "2019-10-02"
--- ---

View file

@ -1,6 +1,7 @@
--- ---
title: "SMB / CIFS" title: "SMB / CIFS"
description: "Rclone docs for SMB backend" description: "Rclone docs for SMB backend"
versionIntroduced: "v1.60.0"
--- ---
# {{< icon "fa fa-server" >}} SMB # {{< icon "fa fa-server" >}} SMB

View file

@ -1,6 +1,7 @@
--- ---
title: "Storj" title: "Storj"
description: "Rclone docs for Storj" description: "Rclone docs for Storj"
versionIntroduced: "v1.52.0"
--- ---
# {{< icon "fas fa-dove" >}} Storj # {{< icon "fas fa-dove" >}} Storj

View file

@ -1,6 +1,7 @@
--- ---
title: "SugarSync" title: "SugarSync"
description: "Rclone docs for SugarSync" description: "Rclone docs for SugarSync"
versionIntroduced: "v1.51.0"
--- ---
# {{< icon "fas fa-dove" >}} SugarSync # {{< icon "fas fa-dove" >}} SugarSync

View file

@ -1,6 +1,7 @@
--- ---
title: "Swift" title: "Swift"
description: "Swift" description: "Swift"
versionIntroduced: "v0.91"
--- ---
# {{< icon "fa fa-space-shuttle" >}}Swift # {{< icon "fa fa-space-shuttle" >}}Swift

View file

@ -1,6 +1,7 @@
--- ---
title: "Tardigrade" title: "Tardigrade"
description: "Rclone docs for Tardigrade" description: "Rclone docs for Tardigrade"
versionIntroduced: "v1.52.0"
--- ---
# {{< icon "fas fa-dove" >}} Tardigrade # {{< icon "fas fa-dove" >}} Tardigrade

View file

@ -1,6 +1,7 @@
--- ---
title: "Union" title: "Union"
description: "Remote Unification" description: "Remote Unification"
versionIntroduced: "v1.44"
--- ---
# {{< icon "fa fa-link" >}} Union # {{< icon "fa fa-link" >}} Union

View file

@ -1,6 +1,7 @@
--- ---
title: "Uptobox" title: "Uptobox"
description: "Rclone docs for Uptobox" description: "Rclone docs for Uptobox"
versionIntroduced: "v1.56.0"
--- ---
# {{< icon "fa fa-archive" >}} Uptobox # {{< icon "fa fa-archive" >}} Uptobox

View file

@ -1,6 +1,7 @@
--- ---
title: "WebDAV" title: "WebDAV"
description: "Rclone docs for WebDAV" description: "Rclone docs for WebDAV"
versionIntroduced: "v1.39"
--- ---
# {{< icon "fa fa-globe" >}} WebDAV # {{< icon "fa fa-globe" >}} WebDAV

View file

@ -1,6 +1,7 @@
--- ---
title: "Yandex" title: "Yandex"
description: "Yandex Disk" description: "Yandex Disk"
versionIntroduced: "v1.26"
--- ---
# {{< icon "fa fa-space-shuttle" >}}Yandex Disk # {{< icon "fa fa-space-shuttle" >}}Yandex Disk

View file

@ -1,6 +1,7 @@
--- ---
title: "Zoho" title: "Zoho"
description: "Zoho WorkDrive" description: "Zoho WorkDrive"
versionIntroduced: "v1.54.0"
--- ---
# {{< icon "fas fa-folder" >}}Zoho Workdrive # {{< icon "fas fa-folder" >}}Zoho Workdrive

View file

@ -26,6 +26,7 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col-md-9"> <div class="col-md-9">
{{ if .Params.versionIntroduced }}<span class="badge badge-pill badge-secondary float-right" style="margin-top: 30px; font-size: 100%" title="This feature needs Rclone {{ .Params.versionIntroduced }} or later.">{{ .Params.versionIntroduced }}</span>{{ end }}
{{ block "main" . }} {{ block "main" . }}
{{ end }} {{ end }}
</div> </div>