From 42a0a77b70ab3382ec95e21ecf7b75c9b9e73a02 Mon Sep 17 00:00:00 2001
From: Timo Koch <timokoch@math.uio.no>
Date: Tue, 21 Mar 2023 20:14:50 +0100
Subject: [PATCH] [doxygen] Try TOC and remove project description

---
 README.md                                    |  1 +
 doc/doxygen/Doxylocal                        |  2 +-
 doc/doxygen/doxygen-awesome-sidebar-only.css |  2 +-
 doc/doxygen/doxygen-awesome.css              |  2 +-
 doc/doxygen/header.html                      | 15 +++------------
 5 files changed, 7 insertions(+), 15 deletions(-)

diff --git a/README.md b/README.md
index cfa36456ec..da3a10f74d 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,7 @@ and motivations behind DuMu<sup>x</sup>.
 
 [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
 
+[TOC]
 
 # Overview
 
diff --git a/doc/doxygen/Doxylocal b/doc/doxygen/Doxylocal
index 1493db2847..17706e80ad 100644
--- a/doc/doxygen/Doxylocal
+++ b/doc/doxygen/Doxylocal
@@ -74,7 +74,7 @@ SHORT_NAMES           = NO
 
 # Settings required for doxygen-awesome theme
 GENERATE_TREEVIEW      = YES
-TREEVIEW_WIDTH         = 420
+TREEVIEW_WIDTH         = 320
 DISABLE_INDEX          = NO
 FULL_SIDEBAR           = NO
 HTML_COLORSTYLE        = LIGHT # required with Doxygen >= 1.9.5
diff --git a/doc/doxygen/doxygen-awesome-sidebar-only.css b/doc/doxygen/doxygen-awesome-sidebar-only.css
index f616dcc563..bab874b791 100644
--- a/doc/doxygen/doxygen-awesome-sidebar-only.css
+++ b/doc/doxygen/doxygen-awesome-sidebar-only.css
@@ -31,7 +31,7 @@ html {
     /* side nav width. MUST be = `TREEVIEW_WIDTH`.
      * Make sure it is wide enough to contain the page title (logo + title + version)
      */
-    --side-nav-fixed-width: 420px;
+    --side-nav-fixed-width: 320px;
     --menu-display: none;
 
     --top-height: 120px;
diff --git a/doc/doxygen/doxygen-awesome.css b/doc/doxygen/doxygen-awesome.css
index f2ac606d72..41898d9a96 100644
--- a/doc/doxygen/doxygen-awesome.css
+++ b/doc/doxygen/doxygen-awesome.css
@@ -73,7 +73,7 @@ html {
     /* content text properties. These only affect the page content, not the navigation or any other ui elements */
     --content-line-height: 27px;
     /* The content is centered and constraint in it's width. To make the content fill the whole page, set the variable to auto.*/
-    --content-maxwidth: 1050px;
+    --content-maxwidth: 1000px;
     --table-line-height: 24px;
     --toc-sticky-top: var(--spacing-medium);
     --toc-width: 200px;
diff --git a/doc/doxygen/header.html b/doc/doxygen/header.html
index 9fb1f20eb3..0b5135e32d 100644
--- a/doc/doxygen/header.html
+++ b/doc/doxygen/header.html
@@ -64,23 +64,14 @@ $extrastylesheet
  <tbody>
  <tr style="height: 56px;">
   <!--BEGIN PROJECT_LOGO-->
-  <td id="projectlogo"><a href="$relpath^index.html"><img alt="Logo" src="$relpath^$projectlogo"/></a></td>
+  <td id="projectlogo"><a href="$relpath^index.html"><img alt="Logo" src="$relpath^$projectlogo" width="150px"/></a></td>
   <!--END PROJECT_LOGO-->
   <!--BEGIN PROJECT_NAME-->
   <td id="projectalign" style="padding-left: 0.5em;">
-   <div id="projectname">$projectname
-   <!--BEGIN PROJECT_NUMBER-->&#160;<span id="projectnumber">$projectnumber</span><!--END PROJECT_NUMBER-->
+   <div id="projectname">
+   <!--BEGIN PROJECT_NUMBER-->&#160;<span id="projectnumber">version $projectnumber</span><!--END PROJECT_NUMBER-->
    </div>
-   <!--BEGIN PROJECT_BRIEF--><div id="projectbrief">$projectbrief</div><!--END PROJECT_BRIEF-->
   </td>
-  <!--END PROJECT_NAME-->
-  <!--BEGIN !PROJECT_NAME-->
-   <!--BEGIN PROJECT_BRIEF-->
-    <td style="padding-left: 0.5em;">
-    <div id="projectbrief">$projectbrief</div>
-    </td>
-   <!--END PROJECT_BRIEF-->
-  <!--END !PROJECT_NAME-->
   <!--BEGIN DISABLE_INDEX-->
    <!--BEGIN SEARCHENGINE-->
    <td>$searchbox</td>
-- 
GitLab