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

Tarun Prabhu via flang-commits flang-commits at lists.llvm.org
Mon Jun 2 07:35:17 PDT 2025


tarunprabhu wrote:

I am not very familiar with the way the manpage for clang is generated. Does [clang.rst](https://github.com/llvm/llvm-project/blob/main/clang/docs/CommandGuide/clang.rst) have to be manually kept up to date with any command line options that are added?

As far as a stub goes, does it make sense to write a barebones `.rst` such as clang's, but in the contents just provide a link to flang's online [command line reference](https://flang.llvm.org/docs/FlangCommandLineReference.html)? We could add text that the man page is a work in progress and that the link to the online documentation is temporary.

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


More information about the flang-commits mailing list