build cli command
docs-builder build [options]
Scope:
directory.
Build a single documentation set from source.
-p--pathstring-
Root directory of the documentation source. Defaults to cwd/docs.
Constraints: symbolic links not allowed, must exist, supports
~home expansion -o--outputstring-
Destination for generated HTML. Defaults to .artifacts/html.
Constraints: symbolic links not allowed, supports
~home expansion --path-prefixstring- URL path prefix prepended to every generated link.
--[no-]force- Delete and rebuild the output folder even if nothing changed.
--[no-]strict- Treat warnings as errors.
--[no-]allow-indexing- Emit meta robots tags that allow search engine indexing.
--[no-]metadata-only- Write only metadata files; skip HTML generation. Ignored when --exporters is also set.
--exportersstring- Comma-separated list of exporters to run.
--canonical-base-urlstring-
Base URL written into <link rel=canonical> tags.
Constraints: must be a http or https URI
--[no-]skip-api- Skip OpenAPI spec generation for faster builds.
--[no-]skip-cross-links- Skip fetching cross-doc-set link indexes.
--[no-]in-memory-
Default:
false -l--log-levelenum-
Minimum log level.
Values: trace, debug, information, warning, error, critical, none
Default:
information -c--config-sourceenum-
Override the configuration source: local, remote
Values: local, remote, embedded
--[no-]skip-private-repositories- Skip cloning private repositories
Locates the documentation root by searching for a docset.yml file starting at options .Path. The output directory is wiped and rebuilt on each run unless incremental build detects no changes.