Scenario:
Assume a sub-site has a puml diagram.
When you build the outer site, there is no problem.
But if you go and build the sub-site, and then try to build the outer-site, there will be a file not found error. The error goes away if you delete the _site folder of the sub-site before building the outer site.