[Chapel Merge] Fix `mason doc` with heavily nested modules

Branch: refs/heads/main
Revision: ae14ca4c30148d4b1299f5a41e52fc91e97449d1
Author: jabraham17
Link: Fix `mason doc` with heavily nested modules by jabraham17 · Pull Request #28726 · chapel-lang/chapel · GitHub
Log Message:
Fix mason doc with heavily nested modules (#28726)

Fixes an issue where mason doc would not properly generate
documentation for all files

  • paratest

[Reviewed by @arifthpe]

Compare: Comparing 1384d0392c575ee28f0a228aa2b8a503f4c9c853...16fa646fcb1592c2c2a4e62387659d1bff3cc795 · chapel-lang/chapel · GitHub

Diff:
M test/mason/cloneFallback.good
M test/mason/mason-doc/Pkg/src/Pkg/Included.chpl
A test/mason/mason-doc/Pkg/src/Pkg/Included/Sub.chpl
M test/mason/mason-doc/docPkg.masontest
M tools/mason/MasonDoc.chpl
M tools/mason/MasonUtils.chpl
M tools/mason/ThirdParty/masonDeps.txt
https://github.com/chapel-lang/chapel/pull/28726.diff