mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 15:11:56 +01:00
docs: fix hugo warning: found no layout file for "html" for kind "term"
Hugo has been making this warning for a while WARN found no layout file for "html" for kind "term": You should create a template file which matches Hugo Layouts Lookup Rules for this combination. This turned out to be the addition of the `groups:` keyword to the command frontmatter. Hugo is doing something with this keyword though this isn't documented in the frontmatter documentation. The fix was removing the `groups:` keyword from the frontmatter since it was never used by hugo.
This commit is contained in:
parent
0197e7f4e5
commit
7060777d1d
@ -109,7 +109,13 @@ rclone.org website.`,
|
||||
Title: strings.ReplaceAll(base, "_", " "),
|
||||
Description: commands[name].Short,
|
||||
Source: strings.ReplaceAll(strings.ReplaceAll(base, "rclone", "cmd"), "_", "/") + "/",
|
||||
Annotations: commands[name].Annotations,
|
||||
Annotations: map[string]string{},
|
||||
}
|
||||
// Filter out annotations that confuse hugo from the frontmatter
|
||||
for k, v := range commands[name].Annotations {
|
||||
if k != "groups" {
|
||||
data.Annotations[k] = v
|
||||
}
|
||||
}
|
||||
var buf bytes.Buffer
|
||||
err := frontmatterTemplate.Execute(&buf, data)
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone backend"
|
||||
description: "Run a backend-specific command."
|
||||
groups: Important
|
||||
versionIntroduced: v1.52
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/backend/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone bisync"
|
||||
description: "Perform bidirectional synchronization between two paths."
|
||||
groups: Filter,Copy,Important
|
||||
status: Beta
|
||||
versionIntroduced: v1.58
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/bisync/ and as part of making a release run "make commanddocs"
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone cat"
|
||||
description: "Concatenates any files and sends them to stdout."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.33
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/cat/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone check"
|
||||
description: "Checks the files in the source and destination match."
|
||||
groups: Filter,Listing,Check
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/check/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
# rclone check
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone checksum"
|
||||
description: "Checks the files in the destination against a SUM file."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.56
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/checksum/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone cleanup"
|
||||
description: "Clean up the remote if possible."
|
||||
groups: Important
|
||||
versionIntroduced: v1.31
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/cleanup/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone copy"
|
||||
description: "Copy files from source to dest, skipping identical files."
|
||||
groups: Copy,Filter,Listing,Important
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/copy/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
# rclone copy
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone copyto"
|
||||
description: "Copy files from source to dest, skipping identical files."
|
||||
groups: Copy,Filter,Listing,Important
|
||||
versionIntroduced: v1.35
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/copyto/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone copyurl"
|
||||
description: "Copy the contents of the URL supplied content to dest:path."
|
||||
groups: Important
|
||||
versionIntroduced: v1.43
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/copyurl/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone cryptcheck"
|
||||
description: "Cryptcheck checks the integrity of an encrypted remote."
|
||||
groups: Filter,Listing,Check
|
||||
versionIntroduced: v1.36
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/cryptcheck/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone dedupe"
|
||||
description: "Interactively find duplicate filenames and delete/rename them."
|
||||
groups: Important
|
||||
versionIntroduced: v1.27
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/dedupe/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone delete"
|
||||
description: "Remove the files in path."
|
||||
groups: Important,Filter,Listing
|
||||
versionIntroduced: v1.27
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/delete/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone deletefile"
|
||||
description: "Remove a single file from remote."
|
||||
groups: Important
|
||||
versionIntroduced: v1.42
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/deletefile/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone hashsum"
|
||||
description: "Produces a hashsum file for all the objects in the path."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.41
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/hashsum/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone ls"
|
||||
description: "List the objects in the path with size and path."
|
||||
groups: Filter,Listing
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/ls/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
# rclone ls
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone lsd"
|
||||
description: "List all directories/containers/buckets in the path."
|
||||
groups: Filter,Listing
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/lsd/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
# rclone lsd
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone lsf"
|
||||
description: "List directories and objects in remote:path formatted for parsing."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.40
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/lsf/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone lsjson"
|
||||
description: "List directories and objects in the path in JSON format."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.37
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/lsjson/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone lsl"
|
||||
description: "List the objects in path with modification time, size and path."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.02
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/lsl/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone md5sum"
|
||||
description: "Produces an md5sum file for all the objects in the path."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.02
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/md5sum/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone mkdir"
|
||||
description: "Make the path if it doesn't already exist."
|
||||
groups: Important
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/mkdir/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
# rclone mkdir
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone mount"
|
||||
description: "Mount the remote as file system on a mountpoint."
|
||||
groups: Filter
|
||||
versionIntroduced: v1.33
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/mount/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone move"
|
||||
description: "Move files from source to dest."
|
||||
groups: Filter,Listing,Important,Copy
|
||||
versionIntroduced: v1.19
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/move/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone moveto"
|
||||
description: "Move file or directory from source to dest."
|
||||
groups: Filter,Listing,Important,Copy
|
||||
versionIntroduced: v1.35
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/moveto/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone ncdu"
|
||||
description: "Explore a remote with a text based user interface."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.37
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/ncdu/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone nfsmount"
|
||||
description: "Mount the remote as file system on a mountpoint."
|
||||
groups: Filter
|
||||
status: Experimental
|
||||
versionIntroduced: v1.65
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/nfsmount/ and as part of making a release run "make commanddocs"
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone purge"
|
||||
description: "Remove the path and all of its contents."
|
||||
groups: Important
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/purge/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
# rclone purge
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone rcat"
|
||||
description: "Copies standard input to file on remote."
|
||||
groups: Important
|
||||
versionIntroduced: v1.38
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/rcat/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone rcd"
|
||||
description: "Run rclone listening to remote control commands only."
|
||||
groups: RC
|
||||
versionIntroduced: v1.45
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/rcd/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone rmdir"
|
||||
description: "Remove the empty directory at path."
|
||||
groups: Important
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/rmdir/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
# rclone rmdir
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone rmdirs"
|
||||
description: "Remove empty directories under the path."
|
||||
groups: Important
|
||||
versionIntroduced: v1.35
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/rmdirs/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone serve dlna"
|
||||
description: "Serve remote:path over DLNA"
|
||||
groups: Filter
|
||||
versionIntroduced: v1.46
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/serve/dlna/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone serve docker"
|
||||
description: "Serve any remote on docker's volume plugin API."
|
||||
groups: Filter
|
||||
versionIntroduced: v1.56
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/serve/docker/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone serve ftp"
|
||||
description: "Serve remote:path over FTP."
|
||||
groups: Filter
|
||||
versionIntroduced: v1.44
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/serve/ftp/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone serve http"
|
||||
description: "Serve the remote over HTTP."
|
||||
groups: Filter
|
||||
versionIntroduced: v1.39
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/serve/http/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone serve nfs"
|
||||
description: "Serve the remote as an NFS mount"
|
||||
groups: Filter
|
||||
status: Experimental
|
||||
versionIntroduced: v1.65
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/serve/nfs/ and as part of making a release run "make commanddocs"
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone serve s3"
|
||||
description: "Serve remote:path over s3."
|
||||
groups: Filter
|
||||
status: Experimental
|
||||
versionIntroduced: v1.65
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/serve/s3/ and as part of making a release run "make commanddocs"
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone serve sftp"
|
||||
description: "Serve the remote over SFTP."
|
||||
groups: Filter
|
||||
versionIntroduced: v1.48
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/serve/sftp/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone serve webdav"
|
||||
description: "Serve remote:path over WebDAV."
|
||||
groups: Filter
|
||||
versionIntroduced: v1.39
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/serve/webdav/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone sha1sum"
|
||||
description: "Produces an sha1sum file for all the objects in the path."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.27
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/sha1sum/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone size"
|
||||
description: "Prints the total size and number of objects in remote:path."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.23
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/size/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone sync"
|
||||
description: "Make source and dest identical, modifying destination only."
|
||||
groups: Sync,Copy,Filter,Listing,Important
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/sync/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
# rclone sync
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone touch"
|
||||
description: "Create new file or change file modification time."
|
||||
groups: Filter,Listing,Important
|
||||
versionIntroduced: v1.39
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/touch/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
@ -1,7 +1,6 @@
|
||||
---
|
||||
title: "rclone tree"
|
||||
description: "List the contents of the remote in a tree like fashion."
|
||||
groups: Filter,Listing
|
||||
versionIntroduced: v1.38
|
||||
# autogenerated - DO NOT EDIT, instead edit the source code in cmd/tree/ and as part of making a release run "make commanddocs"
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user