---
name: "kubeone-document"
section: "1"
platform: "linux"
package: "kubeone"
version: "1.12.3-3"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/kubeone-document"
---

# kubeone-document(1)

Generates documentation

## NAME

kubeone-document - Generates documentation

## SYNOPSIS

**kubeone document  \[flags\]**

## DESCRIPTION

Documentation can be generated as man pages, markdown, restructured text docs or yaml

## OPTIONS

**-h**, **--help**\[=false\]\
 	help for document

**-o**, **--output-dir**="/tmp/"\
 	Directory to populate with documentation

## OPTIONS INHERITED FROM PARENT COMMANDS

**-c**, **--credentials**=""\
 	File to source credentials and secrets from

**-d**, **--debug**\[=false\]\
 	debug output with stacktrace

**-l**, **--log-format**="text"\
 	format for logging

**-m**, **--manifest**="./kubeone.yaml"\
 	Path to the KubeOne config

**-t**, **--tfjson**=""\
 	Source for terraform output in JSON - to read from stdin. If path is a file, contents will be used. If path is a dictionary, **terraform output -json** is executed in this path

**-v**, **--verbose**\[=false\]\
 	verbose output

## EXAMPLE

```
kubeone document man
```

## SEE ALSO

**[kubeone(1)](/kubeone/1.md)**

## HISTORY

8-Feb-2026 Auto generated by spf13/cobra
