From 48d19c9a24bf732aa8bee433e729c1b1cbbc96d8 Mon Sep 17 00:00:00 2001 From: niclas Date: Fri, 15 Mar 2024 10:36:00 +0100 Subject: [PATCH] Add [index] navigation buttons --- tools/mkdocs/modules/site.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkdocs/modules/site.py b/tools/mkdocs/modules/site.py index 5306b21..5c5e58b 100644 --- a/tools/mkdocs/modules/site.py +++ b/tools/mkdocs/modules/site.py @@ -7,7 +7,7 @@ class Site: def __init__(self, path, name) -> None: self.path = path self.name = name - self.content = "" + self.content = '[Hide Navigation](#){ .md-button #toggle-navigation }\n[Hide TOC](#){ .md-button #toggle-toc }\n
\n\n' def add_content(self, content): self.content += content