Another attempt at #4516
Adds a small fix for tag map generation
#4516 introduces build failures, but testing indicates that those failures would have been resolved by a full rebuild.
Hence this pr.
Co-authored-by: Darragh Elliott <me@delliott.xyz>
Reviewed-on: #4553
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
This pr re-formats the build scripts for legibility.
Makes some small tweaks, mainly removing options that don't appear to be used and have no impact.
Updates the help file to be more useful and actually represent all arguments.
Adds the ability to specify languages when building. This is mainly useful for speedups, a full rebuild in just English and French takes only ~3 mins as opposed to 40 for a rebuild of all languages.
There may be some small tweaks not mentioned here, see the commit messages for full details.
This pr does not alter the output of a standard build at all, confirmed using `git diff --no-index`.
Co-authored-by: Darragh Elliott <me@delliott.xyz>
Reviewed-on: #4516
Co-authored-by: delliott <delliott@fsfe.org>
Co-committed-by: delliott <delliott@fsfe.org>
This makes it possible that now the @filename attribute of included news
and events, which will be used as an id for the entry within the
overview page, contains only the base filename instead of the whole
path including the directory.
This change makes sure that the build script will stop if an XML parser
error occures, and the faulty build will not be propagated to the web
server. Please note that it requires switching all the shell scripts to
bash.