[Chapel Merge] Move dyno-chpldoc towards building Chapel document

Branch: refs/heads/main
Revision: 52662da
Author: arezaii
Link: Move dyno-chpldoc towards building Chapel documentation by arezaii · Pull Request #20364 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20364 from arezaii/dyno-chpldoc-testfixes

Move dyno-chpldoc towards building Chapel documentation

This PR makes several changes to dyno-chpldoc that enable
it to build the Chapel documentation through the make docs
operation.

TODO (in a later PR see feat(dyno-chpldoc): process used and included modules by arezaii · Pull Request #20457 · chapel-lang/chapel · GitHub):

  • Fixup sphinx chapel domain to handle operators
  • More thorough diff compare of outputs from chpldoc vs. dyno-chpldoc
  • Clean and refactor dyno-chpldoc code

TESTING:

  • paratest
  • util/start_test test/chpldoc results in 8 failures

reviewed by @mppf - thank you!

Signed-off-by: arezaii ahmad.rezaii@hpe.com

Modified Files:
A test/chpldoc/basics/irregularCommentClose.doc.catfiles

A test/chpldoc/basics/irregularCommentClose.doc.chpl
A test/chpldoc/basics/irregularCommentClose.doc.good
A test/chpldoc/module/includedByDefault.doc.catfiles
A test/chpldoc/module/includedByDefault.doc.chpl
A test/chpldoc/module/includedByDefault.doc.good
M compiler/dyno/include/chpl/util/filesystem.h
M compiler/dyno/lib/util/filesystem.cpp
M compiler/dyno/tools/chpldoc/chpldoc.cpp
M test/chpldoc/intents.doc.chpl
M test/chpldoc/intents.doc.good

Compare: https://github.com/chapel-lang/chapel/compare/ec6ab8c626b4...52662dacfb02