|
| 1 | +// Hand-maintained navigation tree for the auto-generated Talos CLI reference. |
| 2 | +// |
| 3 | +// The CLI docs (talos-*.md in this directory) are generated from Cobra and ship |
| 4 | +// without a sidebar, so this file mirrors the `talos --help` command hierarchy. |
| 5 | +// When commands are added/removed, update this tree to match the generated pages. |
| 6 | +// |
| 7 | +// Imported by sidebars-oss.ts and sidebars-oel.ts and rendered as the |
| 8 | +// "CLI reference" category (linked to the root `talos` command page). |
| 9 | +const id = (name: string) => `talos/reference/cli/${name}` |
| 10 | + |
| 11 | +const talosCliReference = { |
| 12 | + type: "category", |
| 13 | + label: "CLI reference", |
| 14 | + link: { type: "doc", id: id("talos") }, |
| 15 | + items: [ |
| 16 | + { |
| 17 | + type: "category", |
| 18 | + label: "talos jwk", |
| 19 | + link: { type: "doc", id: id("talos-jwk") }, |
| 20 | + items: [ |
| 21 | + { |
| 22 | + type: "category", |
| 23 | + label: "talos jwk generate", |
| 24 | + link: { type: "doc", id: id("talos-jwk-generate") }, |
| 25 | + items: [ |
| 26 | + id("talos-jwk-generate-ecdsa"), |
| 27 | + id("talos-jwk-generate-eddsa"), |
| 28 | + id("talos-jwk-generate-hmac"), |
| 29 | + id("talos-jwk-generate-rsa"), |
| 30 | + ], |
| 31 | + }, |
| 32 | + id("talos-jwk-get"), |
| 33 | + ], |
| 34 | + }, |
| 35 | + { |
| 36 | + type: "category", |
| 37 | + label: "talos keys", |
| 38 | + link: { type: "doc", id: id("talos-keys") }, |
| 39 | + items: [ |
| 40 | + id("talos-keys-issue"), |
| 41 | + id("talos-keys-verify"), |
| 42 | + id("talos-keys-batch-verify"), |
| 43 | + id("talos-keys-derive-token"), |
| 44 | + id("talos-keys-self-revoke"), |
| 45 | + { |
| 46 | + type: "category", |
| 47 | + label: "talos keys issued", |
| 48 | + link: { type: "doc", id: id("talos-keys-issued") }, |
| 49 | + items: [ |
| 50 | + id("talos-keys-issued-issue"), |
| 51 | + id("talos-keys-issued-get"), |
| 52 | + id("talos-keys-issued-list"), |
| 53 | + id("talos-keys-issued-update"), |
| 54 | + id("talos-keys-issued-rotate"), |
| 55 | + id("talos-keys-issued-revoke"), |
| 56 | + ], |
| 57 | + }, |
| 58 | + { |
| 59 | + type: "category", |
| 60 | + label: "talos keys imported", |
| 61 | + link: { type: "doc", id: id("talos-keys-imported") }, |
| 62 | + items: [ |
| 63 | + id("talos-keys-imported-import"), |
| 64 | + id("talos-keys-imported-batch-import"), |
| 65 | + id("talos-keys-imported-get"), |
| 66 | + id("talos-keys-imported-list"), |
| 67 | + id("talos-keys-imported-update"), |
| 68 | + id("talos-keys-imported-revoke"), |
| 69 | + id("talos-keys-imported-delete"), |
| 70 | + ], |
| 71 | + }, |
| 72 | + ], |
| 73 | + }, |
| 74 | + { |
| 75 | + type: "category", |
| 76 | + label: "talos migrate", |
| 77 | + link: { type: "doc", id: id("talos-migrate") }, |
| 78 | + items: [ |
| 79 | + id("talos-migrate-up"), |
| 80 | + id("talos-migrate-down"), |
| 81 | + id("talos-migrate-status"), |
| 82 | + id("talos-migrate-force"), |
| 83 | + ], |
| 84 | + }, |
| 85 | + id("talos-proxy"), |
| 86 | + { |
| 87 | + type: "category", |
| 88 | + label: "talos serve", |
| 89 | + link: { type: "doc", id: id("talos-serve") }, |
| 90 | + items: [id("talos-serve-public"), id("talos-serve-admin")], |
| 91 | + }, |
| 92 | + ], |
| 93 | +} |
| 94 | + |
| 95 | +export default talosCliReference |
0 commit comments