[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
Tue Jun 3 11:15:52 PDT 2025


tarunprabhu wrote:

> > We may want to consider auto-generating a command-line reference and having that in the man page, but that is a broader, and potentially longer, discussion that should not hold up this PR.
> 
> @tarunprabhu, IIUC, the `FlangCommandLineReference.rst` is generated from tablegen in the build process and we link that file in the generated man page for now.

Right, but we probably want that information in the man page itself formatted in a way that is consistent with other man pages. There is also a question of whether we only want a subset of the options in the man page, as clang does right now, or if we want a comprehensive reference.

For now, I am fine with linking to an external page, but eventually, the man page should be self-contained.

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


More information about the flang-commits mailing list