Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Commit d4e4936

Browse files
authored
Merge pull request #118 from ArthurFlag/ENGDOCS-2809-hide-cli-command
docs: hide `configure`
2 parents 6faca79 + 37074fd commit d4e4936

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

commands/configure.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ func newConfigureCmd() *cobra.Command {
1212
var opts scheduling.ConfigureRequest
1313

1414
c := &cobra.Command{
15-
Use: "configure [--context-size=<n>] MODEL [-- <runtime-flags...>]",
16-
Short: "Configure runtime options for a model",
15+
Use: "configure [--context-size=<n>] MODEL [-- <runtime-flags...>]",
16+
Short: "Configure runtime options for a model",
17+
Hidden: true,
1718
Args: func(cmd *cobra.Command, args []string) error {
1819
argsBeforeDash := cmd.ArgsLenAtDash()
1920
if argsBeforeDash == -1 {

docs/reference/docker_model.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ long: |-
66
pname: docker
77
plink: docker.yaml
88
cname:
9-
- docker model configure
109
- docker model df
1110
- docker model inspect
1211
- docker model install-runner
@@ -24,7 +23,6 @@ cname:
2423
- docker model unload
2524
- docker model version
2625
clink:
27-
- docker_model_configure.yaml
2826
- docker_model_df.yaml
2927
- docker_model_inspect.yaml
3028
- docker_model_install-runner.yaml

docs/reference/docker_model_configure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ options:
1616
kubernetes: false
1717
swarm: false
1818
deprecated: false
19-
hidden: false
19+
hidden: true
2020
experimental: false
2121
experimentalcli: true
2222
kubernetes: false

docs/reference/model.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Docker Model Runner (EXPERIMENTAL)
77

88
| Name | Description |
99
|:------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------|
10-
| [`configure`](model_configure.md) | Configure runtime options for a model |
1110
| [`df`](model_df.md) | Show Docker Model Runner disk usage |
1211
| [`inspect`](model_inspect.md) | Display detailed information on one model |
1312
| [`install-runner`](model_install-runner.md) | Install Docker Model Runner (Docker Engine only) |

0 commit comments

Comments
 (0)