docs: set unsafe HTML parsing to false and fix raw HTML insertion

This means that markdown files can't contain <thing> any more.
This commit is contained in:
Nick Craig-Wood
2020-05-22 12:22:52 +01:00
parent 06427371eb
commit 74b8cbfb84
128 changed files with 945 additions and 645 deletions

View File

@@ -116,11 +116,11 @@ are 100% certain you are already passing obscured passwords then use
`
var configCreateCommand = &cobra.Command{
Use: "create <name> <type> [<key> <value>]*",
Use: "create `name` `type` [`key` `value`]*",
Short: `Create a new remote with name, type and options.`,
Long: `
Create a new remote of <name> with <type> and options. The options
should be passed in pairs of <key> <value>.
Create a new remote of ` + "`name`" + ` with ` + "`type`" + ` and options. The options
should be passed in pairs of ` + "`key` `value`" + `.
For example to make a swift remote of name myremote using auto config
you would do:
@@ -159,11 +159,11 @@ func init() {
}
var configUpdateCommand = &cobra.Command{
Use: "update <name> [<key> <value>]+",
Use: "update `name` [`key` `value`]+",
Short: `Update options in an existing remote.`,
Long: `
Update an existing remote's options. The options should be passed in
in pairs of <key> <value>.
in pairs of ` + "`key` `value`" + `.
For example to update the env_auth field of a remote of name myremote
you would do:
@@ -191,8 +191,8 @@ require this add an extra parameter thus:
}
var configDeleteCommand = &cobra.Command{
Use: "delete <name>",
Short: `Delete an existing remote <name>.`,
Use: "delete `name`",
Short: "Delete an existing remote `name`.",
Run: func(command *cobra.Command, args []string) {
cmd.CheckArgs(1, 1, command, args)
config.DeleteRemote(args[0])
@@ -200,11 +200,11 @@ var configDeleteCommand = &cobra.Command{
}
var configPasswordCommand = &cobra.Command{
Use: "password <name> [<key> <value>]+",
Use: "password `name` [`key` `value`]+",
Short: `Update password in an existing remote.`,
Long: `
Update an existing remote's password. The password
should be passed in pairs of <key> <value>.
should be passed in pairs of ` + "`key` `value`" + `.
For example to set password of a remote of name myremote you would do: