Conversation
|
An automated preview of the documentation is available at https://336.unordered.prtest2.cppalliance.org/libs/unordered/doc/html/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-01-02 11:00:51 UTC |
|
why not put the docs in |
Backwards compatibility. |
OK. I think, in the future, if the "redirect to latest version" implements more logic to check the presence or absence of the redirect file, it could also include logic to fix |
| return [ property-set.empty ] $(files) ; | ||
| actions cleanup-node-modules | ||
| { | ||
| bash -c "rm -rf node_modules" |
There was a problem hiding this comment.
bash -c shouldn't be necessary here. It is needed in run-script because otherwise building from the doc directory would invoke build_antora.sh (and not the relative path to that script), which will fail.
rm is a shell command, so it doesn't need another shell wrapper. On the other hand, node_modules is incorrect, as it only works if b2 is invoked from the doc directory. Replace with this:
import path ;
path-constant DOC_DIR : . ;
.node_modules = [ path.join $(DOC_DIR) node_modules ] ;
actions cleanup-node-modules
{
rm -rf $(.node_modules)
}
installstep as it duplicated generated HTML files and Antora already puts its output in the final destination anyway.node_modulesafter Antora generation: this directory has slipped previously in release archives (seemingly, onlybindirectories are automatically located and removed).Fixes #330.