From 6f9deca86c4708d653bc612fb42db62785240fbb Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Fri, 24 Jul 2026 14:38:52 +0200 Subject: [PATCH] docs: bundle license.txt and history.txt so the doc index links resolve The in-app "View Documentation" page (engine html/index.html) links to ../license.txt ("License") and ../history.txt ("Release Changes") at the bundle root, but the generated docs bundle only shipped html/, templates/ and license/, so both links 404. Add the two engine root files to the bundle root. Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01YWHWPSEx8LSfZHHAWmBtn8 Signed-off-by: Xavier Roche --- app/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 0a3195c..ac9fadc 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -94,6 +94,8 @@ def buildResourcesBundle = tasks.register('buildResourcesBundle', Zip) { from('src/main/jni/httrack/html') { into 'html'; exclude 'Makefile.am' } from('src/main/jni/httrack/templates') { into 'templates'; exclude 'Makefile.am' } from('src/main/bundle/license') { into 'license' } + // html/index.html links to ../license.txt and ../history.txt at the bundle root. + from('src/main/jni/httrack') { include 'license.txt', 'history.txt' } } // preBuild is a transitive ancestor of every resource task, so this one edge gives // them all the dependency on the generated bundle that Gradle's validation requires.