[flang-commits] [flang] [Flang] Add Sphinx man page support for Flang (PR #141882)
Kiran Chandramohan via flang-commits
flang-commits at lists.llvm.org
Fri May 30 02:42:21 PDT 2025
kiranchandramohan wrote:
> @kiranchandramohan @tarunprabhu, what do you guys think about modifying `index.md` in the following manner ? This will load things on demand and we should not be hitting the `nonexistent document` errors.
>
> ```
> ```{eval}
> import os
> if os.path.exists('FlangCommandLineReference.rst'):
> print('FlangCommandLineReference')
> ```
I would prefer something like https://reviews.llvm.org/D128650 where the generated md/rst files are copied by the `docs-flang-man` target before it hits the code that triggers the `nonexistent document` warning/errors.
https://github.com/llvm/llvm-project/pull/141882
More information about the flang-commits
mailing list