I have "updated" the patch here:
https://salsa.debian.org/debian/doxygen/blob/master/debian/patches/doxygen-jquery.patch

like this:
--- doxygen.orig/src/htmlgen.cpp
+++ doxygen/src/htmlgen.cpp
@@ -775,7 +775,10 @@ void HtmlGenerator::init()
   {
     mgr.copyResourceAs("fixed_tabs.css",dname,"tabs.css");
   }
-  mgr.copyResource("jquery.js",dname);
+  if (Config_getBool(GENERATE_TREEVIEW) || Config_getBool(SEARCHENGINE))
+  {
+    mgr.copyResource("jquery.js",dname);
+  }
   if (Config_getBool(INTERACTIVE_SVG))
   {
     mgr.copyResource("svgpan.js",dname);

But according to upstream:
https://github.com/doxygen/doxygen/issues/7367
this updated patch does not make much sense.

I have tested it with the simplest possible doxygen project (attached).
Running doxygen with the patch above runs fine with the default Doxyfile 
(generated with doxygen -g).
When I turn off the SEARCHENGINE option (GENERATE_TREEVIEW is already OFF), 
clean up and regenerate the html docs, indeed html/jquery.js is absent as 
expected.

But the generated docs are broken, they look different and they cause 
JavaScript errors in the Chromium console:

GET file:///tmp/tmp.sgSjjEtEsw/html/jquery.js net::ERR_FILE_NOT_FOUND
index.html:34 Uncaught ReferenceError: $ is not defined
    at index.html:34

So I am going to disable this patch altogether.

Paolo

Attachment: hello_doxygen.tar.xz
Description: application/xz

Reply via email to