Skip to content

Commit

Permalink
docs: move operator subcommands under their own trees (#13677) (#13683)
Browse files Browse the repository at this point in the history
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.

Co-authored-by: Tim Gross <[email protected]>
  • Loading branch information
hc-github-team-nomad-core and tgross authored Jul 11, 2022
1 parent 977789b commit 0fbe65c
Show file tree
Hide file tree
Showing 13 changed files with 57 additions and 42 deletions.
99 changes: 57 additions & 42 deletions website/data/docs-nav-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -525,12 +525,17 @@
"path": "commands/operator"
},
{
"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",
Expand All @@ -549,44 +554,54 @@
"path": "commands/operator/metrics"
},
{
"title": "raft info",
"path": "commands/operator/raft-info"
},
{
"title": "raft list-peers",
"path": "commands/operator/raft-list-peers"
},
{
"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": "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": "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": "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"
}
]
}
]
},
Expand Down

0 comments on commit 0fbe65c

Please sign in to comment.