file_manager: serve Klipper's "docs" directory
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
93fd850b63
commit
b0f781ec16
|
@ -65,6 +65,8 @@ class FileManager:
|
||||||
if klipper_path is not None:
|
if klipper_path is not None:
|
||||||
example_cfg_path = os.path.join(klipper_path, "config")
|
example_cfg_path = os.path.join(klipper_path, "config")
|
||||||
self.register_directory("config_examples", example_cfg_path)
|
self.register_directory("config_examples", example_cfg_path)
|
||||||
|
docs_path = os.path.join(klipper_path, "docs")
|
||||||
|
self.register_directory("docs", docs_path)
|
||||||
|
|
||||||
# Register log path
|
# Register log path
|
||||||
log_file = paths.get('log_file')
|
log_file = paths.get('log_file')
|
||||||
|
|
Loading…
Reference in New Issue