From cc4b91806cd7116dc79f2f061f46935efb1cc9b1 Mon Sep 17 00:00:00 2001 From: fdupoux Date: Mon, 3 Jan 2022 11:04:17 +0000 Subject: [PATCH] Delete the download page from the offline website --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 9ec1093..d5ab50b 100755 --- a/build.sh +++ b/build.sh @@ -158,6 +158,9 @@ make_documentation() { mkdir -p "${work_dir}/${arch}/airootfs/${documentation_dir}" + # Delete the download page from the offline version as it makes no sense to keep it + rm -rf website/content/Download + # parameters are all relative to --source dir /usr/bin/hugo --source "website/" --config "config-offline.toml" --gc --verbose \ --destination "../${work_dir}/${arch}/airootfs/${documentation_dir}"