docs-build.sh: fix merging of top level docs