From 69724638488a5580654c41fab17a1638ffcf173d Mon Sep 17 00:00:00 2001 From: kimci86 Date: Sun, 31 Jul 2022 20:08:20 +0200 Subject: [PATCH] Enable doxygen search engine --- doc/doxyfile.in | 2 +- doc/doxygen.css | 10 +++++++++- doc/header.html.in | 19 +++++++++++++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/doc/doxyfile.in b/doc/doxyfile.in index 360dd491..6c824cf1 100644 --- a/doc/doxyfile.in +++ b/doc/doxyfile.in @@ -1793,7 +1793,7 @@ MATHJAX_CODEFILE = # The default value is: YES. # This tag requires that the tag GENERATE_HTML is set to YES. -SEARCHENGINE = NO +SEARCHENGINE = YES # When the SERVER_BASED_SEARCH tag is enabled the search engine will be # implemented using a web server instead of a web client using JavaScript. There diff --git a/doc/doxygen.css b/doc/doxygen.css index 9c2fc6a2..52648145 100644 --- a/doc/doxygen.css +++ b/doc/doxygen.css @@ -1062,18 +1062,26 @@ tr.heading h2 { display: table; } +.tablist { + width: 100%; +} + .tablist li { float: left; display: table-cell; list-style: none; } +#navrow1 .tablist li:last-child { + float: right; +} + #navrow1 { border-top: 1px solid #999; margin-top: 2em; } -#navrow1 .tablist a, #navrow2 .tablist a, #navrow3 .tablist a, #navrow4 .tablist a { +#navrow1 .tablist a:not(#MSearchClose), #navrow2 .tablist a, #navrow3 .tablist a, #navrow4 .tablist a { display: block; margin: 8px 0; padding: 0 8px; diff --git a/doc/header.html.in b/doc/header.html.in index cc42ea28..1e6783c4 100644 --- a/doc/header.html.in +++ b/doc/header.html.in @@ -8,6 +8,25 @@ + + + + +