From 0721b8bfe558502669f06c97601fe59ad0d52541 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 19 Apr 2024 15:14:02 +0300 Subject: [PATCH] Doxygen: Don't strip JavaScript anymore The stripping method worked well with Doxygen 1.8 and 1.9 but it doesn't work with Doxygen 1.10 anymore. Since we won't ship pre-generated liblzma API docs anymore, the extra bloat and extra license info of the JavaScript files won't affect the upstream source package anymore. (cherry picked from commit bdba39a57530d11b88440df8024002be3d09e4a1) --- doxygen/update-doxygen | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/doxygen/update-doxygen b/doxygen/update-doxygen index 87dfffb2..0482b1ac 100755 --- a/doxygen/update-doxygen +++ b/doxygen/update-doxygen @@ -57,30 +57,9 @@ case $1 in cat Doxyfile echo "PROJECT_NUMBER = $PACKAGE_VERSION" ) | doxygen - - - # As of Doxygen 1.8.0 - 1.9.6 and the Doxyfile options we use, - # the output is good without any JavaScript. Unfortunately - # Doxygen doesn't have an option to disable JavaScript usage - # completely so we strip it away with the hack below. - # - # Omitting the JavaScript code avoids some license hassle - # as jquery.js is fairly big, it contains more than jQuery - # itself, and doesn't include the actual license text (it - # only refers to the MIT license by name). - echo "Stripping JavaScript from Doxygen output..." - for F in ../doc/api/*.html - do - sed 's/