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"
description: "Remote Aliases"
versionIntroduced: "v1.40"
---
# {{< icon "fa fa-link" >}} Alias

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -26,6 +26,7 @@
<div class="container-fluid">
<div class="row">
<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" . }}
{{ end }}
</div>