docs: move operator subcommands under their own trees (#13677)

The sidebar navigation tree for the `operator` sub-sub commands is
getting cluttered and we have a new set of commands coming to support
secure variables keyring as well. Move these all under their own
subtrees.
This commit is contained in:
Tim Gross
2022-07-11 14:00:24 -04:00
committed by GitHub
parent 6d3e807f36
commit b209fc47da
15 changed files with 68 additions and 48 deletions

View File

@@ -546,12 +546,17 @@
"path": "commands/operator/api"
},
{
"title": "autopilot get-config",
"path": "commands/operator/autopilot-get-config"
},
{
"title": "autopilot set-config",
"path": "commands/operator/autopilot-set-config"
"title": "autopilot",
"routes": [
{
"title": "get-config",
"path": "commands/operator/autopilot/get-config"
},
{
"title": "set-config",
"path": "commands/operator/autopilot/set-config"
}
]
},
{
"title": "debug",
@@ -570,52 +575,67 @@
"path": "commands/operator/metrics"
},
{
"title": "raft info",
"path": "commands/operator/raft-info"
"title": "raft",
"routes": [
{
"title": "info",
"path": "commands/operator/raft/info"
},
{
"title": "list-peers",
"path": "commands/operator/raft/list-peers"
},
{
"title": "logs",
"path": "commands/operator/raft/logs"
},
{
"title": "remove-peer",
"path": "commands/operator/raft/remove-peer"
},
{
"title": "state",
"path": "commands/operator/raft/state"
}
]
},
{
"title": "raft list-peers",
"path": "commands/operator/raft-list-peers"
"title": "scheduler",
"routes": [
{
"title": "get-config",
"path": "commands/operator/scheduler/get-config"
},
{
"title": "set-config",
"path": "commands/operator/scheduler/set-config"
}
]
},
{
"title": "raft logs",
"path": "commands/operator/raft-logs"
},
{
"title": "raft remove-peer",
"path": "commands/operator/raft-remove-peer"
},
{
"title": "raft state",
"path": "commands/operator/raft-state"
},
{
"title": "scheduler get-config",
"path": "commands/operator/scheduler-get-config"
},
{
"title": "scheduler set-config",
"path": "commands/operator/scheduler-set-config"
},
{
"title": "snapshot agent",
"path": "commands/operator/snapshot-agent"
},
{
"title": "snapshot inspect",
"path": "commands/operator/snapshot-inspect"
},
{
"title": "snapshot restore",
"path": "commands/operator/snapshot-restore"
},
{
"title": "snapshot save",
"path": "commands/operator/snapshot-save"
},
{
"title": "snapshot state",
"path": "commands/operator/snapshot-state"
"title": "snapshot",
"routes": [
{
"title": "agent",
"path": "commands/operator/snapshot/agent"
},
{
"title": "inspect",
"path": "commands/operator/snapshot/inspect"
},
{
"title": "restore",
"path": "commands/operator/snapshot/restore"
},
{
"title": "save",
"path": "commands/operator/snapshot/save"
},
{
"title": "state",
"path": "commands/operator/snapshot/state"
}
]
}
]
},