This patch refactors the Flang documentation CMake and Sphinx configuration to address build issues. **CMake changes**: - Moves the `gen_rst_file_from_td()` call out of the HTML-only block so that both `docs-flang-html` and `docs-flang-man` builds depend on the generated `FlangCommandLineReference.rst` file. **conf.py changes**: - Introduces `myst_parser` dependency as a required Markdown parser for both HTML and man builds. - Introduces the correct source_suffix mapping for both .rst and .md files. - Populates the man_pages configuration so the main index page generates a ` flang(1) `man page. Fixes #141757 --------- Authored-by: Samarth Narang <samanara@qti.qualcomm.com>
23 lines
477 B
ReStructuredText
23 lines
477 B
ReStructuredText
Flang Manual Page (In Progress)
|
|
==================================================
|
|
|
|
.. note::
|
|
This man page is under development.
|
|
|
|
For full documentation, please see the online HTML docs:
|
|
|
|
https://flang.llvm.org/docs/
|
|
|
|
..
|
|
The placeholder text "FlangCommandLineReference" below should eventually be replaced with the actual man page contents.
|
|
|
|
----
|
|
|
|
Flang Command Line Reference
|
|
----------------------------
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
FlangCommandLineReference
|