From ea2470587d137fdb43e64c15954a8312ebceeb06 Mon Sep 17 00:00:00 2001 From: Vxrtrauter <101264710+Vxrtrauter@users.noreply.github.com> Date: Wed, 8 Apr 2026 23:30:27 +0200 Subject: [PATCH] feat: Add darkreader lock and 404 tab handling Add a tag to prevent Dark Reader from altering the docs styling. Adjust client-side routing so only '/' is replaced with the 'start' tab; unknown paths now open the 'notfound' tab instead of being redirected to start. --- docs/index.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/index.html b/docs/index.html index 35f9f4a..53b4b93 100644 --- a/docs/index.html +++ b/docs/index.html @@ -3,6 +3,7 @@ + SoftwareManager - Main @@ -225,9 +226,11 @@ openTab(null, 'api', false); } else if (currentPath === '/docs') { openTab(null, 'docs', false); - } else { + } else if (currentPath === '/') { history.replaceState({ tab: 'start' }, "", "/"); - openTab(null, 'start', false); + openTab(null, 'start', false); + } else { + openTab(null, 'notfound', false); } };