aboutsummaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/generate/docs.py
diff options
context:
space:
mode:
authorRyan <[email protected]>2025-02-01 21:19:30 +1100
committerGitHub <[email protected]>2025-02-01 21:19:30 +1100
commit273d8d6a1a6badb8d9b473954f16a0fbbe671987 (patch)
tree0d2558d1d8ae2ce22c5b6702abc5315c607e2c12 /lib/python/qmk/cli/generate/docs.py
parentff09b921f1c2160abe05c1fdbd38f25f64b6c7bd (diff)
downloadqmk_firmware-273d8d6a1a6badb8d9b473954f16a0fbbe671987.tar.gz
qmk_firmware-273d8d6a1a6badb8d9b473954f16a0fbbe671987.zip
`qmk docs`: restore `--port` and `--browser` arguments (#24623)
* `qmk docs`: restore `--port` and `--browser` arguments * Make docs command args always a list
Diffstat (limited to 'lib/python/qmk/cli/generate/docs.py')
-rw-r--r--lib/python/qmk/cli/generate/docs.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/python/qmk/cli/generate/docs.py b/lib/python/qmk/cli/generate/docs.py
index 5821d43b86..7abeca9d2a 100644
--- a/lib/python/qmk/cli/generate/docs.py
+++ b/lib/python/qmk/cli/generate/docs.py
@@ -27,10 +27,8 @@ def generate_docs(cli):
return False
cli.log.info('Building vitepress docs')
- run_docs_command('run', 'docs:build')
+ run_docs_command('run', ['docs:build'])
cli.log.info('Successfully generated docs to %s.', BUILD_DOCS_PATH)
if cli.args.serve:
- if not cli.config.general.verbose:
- cli.log.info('Serving docs at http://localhost:4173/ (Ctrl+C to stop)')
- run_docs_command('run', 'docs:preview')
+ run_docs_command('run', ['docs:preview'])