Replace references to Makefile.sphinx
and fix some typos Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D112299
This commit is contained in:
parent
f37463b2ee
commit
fd5e3f36f2
|
@ -22,7 +22,7 @@
|
|||
// Windows (from within the clang\docs directory):
|
||||
// make.bat html
|
||||
// Non-Windows (from within the clang\docs directory):
|
||||
// make -f Makefile.sphinx html
|
||||
// sphinx-build -b html _build/html
|
||||
|
||||
def GlobalDocumentation {
|
||||
code Intro =[{..
|
||||
|
|
|
@ -14,7 +14,7 @@ Sphinx <http://sphinx-doc.org/> and then do:
|
|||
cd <build-dir>
|
||||
cmake -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_HTML=true <src-dir>
|
||||
make -j3 docs-llvm-html
|
||||
$BROWSER <build-dir>/docs//html/index.html
|
||||
$BROWSER <build-dir>/docs/html/index.html
|
||||
|
||||
The mapping between reStructuredText files and generated documentation is
|
||||
`docs/Foo.rst` <-> `<build-dir>/docs//html/Foo.html` <-> `https://llvm.org/docs/Foo.html`.
|
||||
|
@ -35,7 +35,7 @@ directory `<build-dir>/docs/man/`.
|
|||
cd <build-dir>
|
||||
cmake -DLLVM_ENABLE_SPHINX=true -DSPHINX_OUTPUT_MAN=true <src-dir>
|
||||
make -j3 docs-llvm-man
|
||||
man -l >build-dir>/docs/man/FileCheck.1
|
||||
man -l <build-dir>/docs/man/FileCheck.1
|
||||
|
||||
The correspondence between .rst files and man pages is
|
||||
`docs/CommandGuide/Foo.rst` <-> `<build-dir>/docs//man/Foo.1`.
|
||||
|
@ -49,8 +49,9 @@ Checking links
|
|||
The reachability of external links in the documentation can be checked by
|
||||
running:
|
||||
|
||||
cd docs/
|
||||
make -f Makefile.sphinx linkcheck
|
||||
cd llvm/docs/
|
||||
sphinx-build -b linkcheck . _build/lintcheck/
|
||||
# report will be generated in _build/lintcheck/output.txt
|
||||
|
||||
Doxygen page Output
|
||||
==============
|
||||
|
|
Loading…
Reference in New Issue