Merge pull request #12924 from maff/feature/techdocs-cli-docker-options

feat: techdocs-cli extra Docker options for serve/serve:mkdocs
This commit is contained in:
Eric Peterson
2022-08-03 13:13:17 +02:00
committed by GitHub
8 changed files with 54 additions and 0 deletions
+2
View File
@@ -83,6 +83,8 @@ Serve a documentation project locally in a Backstage app-like environment
Options:
-i, --docker-image <DOCKER_IMAGE> The mkdocs docker container to use (default: "spotify/techdocs")
--docker-entrypoint <DOCKER_ENTRYPOINT> Override the image entrypoint
--docker-option <DOCKER_OPTION...> Extra options to pass to the docker run command, e.g. "--add-host=internal.host:192.168.11.12"
(can be added multiple times).
--no-docker Do not use Docker, use MkDocs executable in current user environment.
--mkdocs-port <PORT> Port for MkDocs server to use (default: "8000")
-v --verbose Enable verbose output. (default: false)