From a8d34bb64ec6ef6e09c611de7a8bbb14b322f0c3 Mon Sep 17 00:00:00 2001 From: lethosor Date: Sun, 12 Jul 2020 00:30:28 -0400 Subject: [PATCH] Add explicit home link to sidebar --- conf.py | 2 +- docs/styles/dfhack.css | 2 +- docs/templates/about.html | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 docs/templates/about.html diff --git a/conf.py b/conf.py index e70d836f1..a46039126 100644 --- a/conf.py +++ b/conf.py @@ -212,7 +212,7 @@ extlinks = { } # Add any paths that contain templates here, relative to this directory. -templates_path = [] +templates_path = ["docs/templates"] # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: diff --git a/docs/styles/dfhack.css b/docs/styles/dfhack.css index 43063cee2..daedd1120 100644 --- a/docs/styles/dfhack.css +++ b/docs/styles/dfhack.css @@ -49,7 +49,7 @@ div.sphinxsidebar { overflow-y: auto; } -div.sphinxsidebar h3 > a { +div.sphinxsidebar h3.logo-name a { border-bottom: 1px dotted #999; } diff --git a/docs/templates/about.html b/docs/templates/about.html new file mode 100644 index 000000000..48f98859f --- /dev/null +++ b/docs/templates/about.html @@ -0,0 +1,6 @@ + + +