[flang-commits] [flang] [Flang] Add Sphinx man page support for Flang (PR #141882)

Samarth Narang via flang-commits flang-commits at lists.llvm.org
Thu May 29 04:08:02 PDT 2025


snarang181 wrote:

> I think more people need to look into it. AFAIR the plan was that flang does not use the `.rst` files for documentation, it was supposed to rely on the markdown files entirely.

@pawosm-arm, thanks for looking into it. I got rid of the `.rst` files. When I added the explicit source suffix, it seemed like the man-page build needed the parser for the .md files. With the `myst_parser` library not being imported, I was hitting parsing errors of the .md files, so I explicitly changed the requirement. With that and adding placeholder missing `.md` files, I can generate a man doc at `${BUILD_DIR}/tools/flang/docs/man/flang.1`

https://github.com/llvm/llvm-project/pull/141882


More information about the flang-commits mailing list