From 7e5dab5fca4b154f12d3a313a6bdbd507f2314be Mon Sep 17 00:00:00 2001 From: Richard Barton Date: Mon, 7 Sep 2020 16:33:55 +0100 Subject: [PATCH] [flang] Spelling and format edits to README.txt. NFC. --- flang/README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/flang/README.md b/flang/README.md index fafc1f9..3a58c27 100644 --- a/flang/README.md +++ b/flang/README.md @@ -159,7 +159,7 @@ make test check-all To run individual regression tests llvm-lit needs to know the lit configuration for flang. The parameters in charge of this are: -flang_site_config and flang_config. And they can be set as shown bellow: +flang_site_config and flang_config. And they can be set as shown below: ``` /llvm-lit \ --param flang_site_config=/test-lit/lit.site.cfg.py \ @@ -214,9 +214,11 @@ To generate doxygen-style documentation from source code cd ~/llvm-project/build cmake -DLLVM_ENABLE_DOXYGEN=ON -DFLANG_INCLUDE_DOCS=ON ../llvm make doxygen-flang +``` It will generate html in +``` /tools/flang/docs/doxygen/html # for flang docs ``` ## Generate Sphinx-based Documentation @@ -227,17 +229,18 @@ is mostly meant to be processed by the Sphinx documentation generation system to create HTML pages which would be hosted on the webpage of flang and updated periodically. -If you would like to generate and view the HTML locally, install -Sphinx and then: - +If you would like to generate and view the HTML locally: +- Install [Sphinx](http://sphinx-doc.org/), including the [sphinx-markdown-tables](https://pypi.org/project/sphinx-markdown-tables/) extension. - Pass `-DLLVM_ENABLE_SPHINX=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF` to the cmake command. ``` cd ~/llvm-project/build cmake -DLLVM_ENABLE_SPHINX=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF ../llvm make docs-flang-html +``` It will generate html in +``` $BROWSER /tools/flang/docs/html/ ``` -- 2.7.4