Delete the download page from the offline website

This commit is contained in:
fdupoux 2022-01-03 11:04:17 +00:00
parent d0a46098d8
commit cc4b91806c

View file

@ -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}"