Speed up the website build by ceasing to rebuild the old release notes.Add a new environment variable WITHOUT_OLD_RELNOTES which will build
I havethe website without built them once,ding unsupported release notes. and copied them into static/ where they will beThis buils the
served verbatim.website in under one second on my laptop, The source is still in the same locationdown from several minutes.
Thanks to @markj for helping me profile this, but the whole@cperciva for suggesting
release directory is unmounted via hugo.tomlit should be a make variable, except supported releasesand @carlavilla for helping me work out
are brought back inthe details.
With this, the build is increased 60x.
Note I dont know what's going on with the cgi, but the build wasUnresolved:
failing on that with the above changes, so I just wrapped it in the if- is quick.toml the right name for this?
statement.
I documented it in- should we bring back the Makefile, probably not the right place but I doconfig directory to put both of the tomls?
not really know where is the most obvious place.
This just /has/ to be wrong somehow.
Thanks: markj showed me where all the build time was being spent- i need to document this in build.7, note the website is not in the FDP