From b0f781ec165ac66bd08a91ed0b2d226898cd7b33 Mon Sep 17 00:00:00 2001 From: Arksine Date: Mon, 23 Nov 2020 06:17:23 -0500 Subject: [PATCH] file_manager: serve Klipper's "docs" directory Signed-off-by: Eric Callahan --- moonraker/plugins/file_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moonraker/plugins/file_manager.py b/moonraker/plugins/file_manager.py index ffe4dd9..ce60ddc 100644 --- a/moonraker/plugins/file_manager.py +++ b/moonraker/plugins/file_manager.py @@ -65,6 +65,8 @@ class FileManager: if klipper_path is not None: example_cfg_path = os.path.join(klipper_path, "config") 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 log_file = paths.get('log_file')