diff options
author | fauxpark <fauxpark@gmail.com> | 2019-10-09 05:06:26 +1100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-10-08 11:06:26 -0700 |
commit | 2707652c9877e5fc7dd67670f8e14962c31baf42 (patch) | |
tree | fe59684ab5a80ed51bb14c5b465254c24935d194 /lib/python/qmk/cli/__init__.py | |
parent | e7d95701bf12998a61c5d2143891b24939ebbe52 (diff) | |
download | qmk_firmware-2707652c9877e5fc7dd67670f8e14962c31baf42.tar.gz qmk_firmware-2707652c9877e5fc7dd67670f8e14962c31baf42.zip |
[Docs] CLI command to serve docs locally (#6956)
* CLI command to serve docs locally
* Document it
* Default port
* Use `with` and subclass `SimpleHTTPRequestHandler` to set working dir
* Apply suggestions from code review
Co-Authored-By: skullydazed <skullydazed@users.noreply.github.com>
* Update docs/cli.md
Diffstat (limited to 'lib/python/qmk/cli/__init__.py')
-rw-r--r-- | lib/python/qmk/cli/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/python/qmk/cli/__init__.py b/lib/python/qmk/cli/__init__.py index e982a75fc..e41cc3dcb 100644 --- a/lib/python/qmk/cli/__init__.py +++ b/lib/python/qmk/cli/__init__.py | |||
@@ -5,6 +5,7 @@ We list each subcommand here explicitly because all the reliable ways of searchi | |||
5 | from . import cformat | 5 | from . import cformat |
6 | from . import compile | 6 | from . import compile |
7 | from . import config | 7 | from . import config |
8 | from . import docs | ||
8 | from . import doctor | 9 | from . import doctor |
9 | from . import hello | 10 | from . import hello |
10 | from . import json | 11 | from . import json |