From 344bce7e2a19aae1003bc2604f838a0328426205 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 3 Sep 2020 11:47:48 +0100 Subject: [PATCH] docs: fix formatting of rc docs page See: https://forum.rclone.org/t/rclone-1-53-release/18880/24 --- docs/content/rc.md | 6 ++++-- fs/rc/internal.go | 2 +- fs/rc/webgui/rc.go | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/content/rc.md b/docs/content/rc.md index 5fa7a2835..490ebf307 100644 --- a/docs/content/rc.md +++ b/docs/content/rc.md @@ -537,6 +537,8 @@ OR "result": "" } +``` + **Authentication is required for this call.** ### core/gc: Runs a garbage collection. {#core-gc} @@ -1212,7 +1214,7 @@ This allows you to remove a plugin using it's name This takes parameters -- name: name of the plugin in the format / +- name: name of the plugin in the format `author`/`plugin_name` Eg @@ -1226,7 +1228,7 @@ This allows you to remove a plugin using it's name This takes the following parameters -- name: name of the plugin in the format / +- name: name of the plugin in the format `author`/`plugin_name` Eg diff --git a/fs/rc/internal.go b/fs/rc/internal.go index 24a13b865..a820c908a 100644 --- a/fs/rc/internal.go +++ b/fs/rc/internal.go @@ -379,7 +379,7 @@ OR "result": "" } - +` + "```" + ` `, }) } diff --git a/fs/rc/webgui/rc.go b/fs/rc/webgui/rc.go index 8006cce48..2c8263219 100644 --- a/fs/rc/webgui/rc.go +++ b/fs/rc/webgui/rc.go @@ -45,7 +45,7 @@ func init() { This takes the following parameters -- name: name of the plugin in the format / +- name: name of the plugin in the format ` + "`author`/`plugin_name`" + ` Eg @@ -212,7 +212,7 @@ func init() { This takes parameters -- name: name of the plugin in the format / +- name: name of the plugin in the format ` + "`author`/`plugin_name`" + ` Eg