From 79f18effdd73b0997960526f328cefcdc9e5a3ad Mon Sep 17 00:00:00 2001 From: Cody Glassman Date: Fri, 20 Jun 2025 06:23:54 -0700 Subject: [PATCH] docs - unhide a TOC --- docs/source/_static/theme-override.css | 5 +++++ docs/source/manuals/installation/index.rst | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/source/_static/theme-override.css b/docs/source/_static/theme-override.css index 35b41327d2..5155f0f519 100644 --- a/docs/source/_static/theme-override.css +++ b/docs/source/_static/theme-override.css @@ -33,6 +33,11 @@ } } +/* Enable hover-to-highlight in TOC */ +.contents ul li a.reference:hover, .toctree-wrapper ul li a.reference:hover { + color: hsl(var(--foreground)) !important; +} + /* Hide text underline in tables since the underlines clash with table lines */ #content a.sd-badge:not(.toc-backref), #content table a:not(.toc-backref) { text-decoration: none; diff --git a/docs/source/manuals/installation/index.rst b/docs/source/manuals/installation/index.rst index 4cdc3968e1..6e6f5034ef 100644 --- a/docs/source/manuals/installation/index.rst +++ b/docs/source/manuals/installation/index.rst @@ -6,7 +6,6 @@ In order to use OpenMW, you must install both the engine and the game files for .. toctree:: :maxdepth: 2 - :hidden: install-openmw install-game-files