From ff73c226fcee6f57f8d243f5a5b1f78fc826e446 Mon Sep 17 00:00:00 2001 From: swist Date: Tue, 10 Nov 2020 22:13:52 +0000 Subject: [PATCH] Fix techdocs plugin generating loads of unnecessary files Adding a temporary directory to list of theme plugin directories causes havoc by making it walk temporary directories for themes --- src/core.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/core.py b/src/core.py index b563cca..5f5f585 100644 --- a/src/core.py +++ b/src/core.py @@ -36,13 +36,8 @@ def on_config(self, config): # Theme config["theme"] = Theme( - name="material", - static_templates=[ - "techdocs_metadata.json", - ], + name="material", static_templates=["techdocs_metadata.json",], ) - config["theme"].dirs.append(tempfile.gettempdir()) - # Plugins del config["plugins"]["techdocs-core"]