[Chapel Merge] feat(dyno-chpldoc): integrate calls to sphinx to b

Branch: refs/heads/main
Revision: 36d8588
Author: arezaii
Link: feat(dyno-chpldoc): integrate calls to sphinx to build HTML docs by arezaii · Pull Request #20300 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20300 from arezaii/dyno-chpldoc-sphinx

feat(dyno-chpldoc): integrate calls to sphinx to build HTML docs

This PR begins adding support for building HTML docs using the python
package sphinx from within dyno-chpldoc.

Prior to this work, there were ~23 tests that were failing due to faults
with dyno-chpldoc. This PR fixes 16 of those failures, leaving 7 test
failures to be fixed in future work.

Much of the supporting functions from chpldoc were copied over
to dyno-chpldoc as opposed to adding them to the dyno library.
Future work will refactor these static functions.

TESTING:

  • paratest
  • use dyno-chpldoc for test/chpldoc tests (7 fails vs. 23 prior)

Reviewed by @dlongnecke-cray - thank you!

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

Modified Files:
M compiler/dyno/include/chpl/util/filesystem.h

M compiler/dyno/lib/util/filesystem.cpp
M compiler/dyno/tools/chpldoc/chpldoc.cpp
M compiler/passes/docs.cpp
M compiler/util/files.cpp

Compare: https://github.com/chapel-lang/chapel/compare/815c267fdd4d...36d85881f1be