minix/external/bsd/llvm/dist/llvm/docs
Lionel Sambuc f4a2713ac8 Importing netbsd clang -- pristine
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
2014-07-28 17:05:57 +02:00
..
_static Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
_templates Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
_themes/llvm-theme Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
CommandGuide Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
HistoricalNotes Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
TableGen Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
tutorial Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
AliasAnalysis.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Atomics.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
BitCodeFormat.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
BranchWeightMetadata.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Bugpoint.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
CMake.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
CMakeLists.txt Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
CodeGenerator.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
CodingStandards.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
CommandLine.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
CompilerWriterInfo.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
conf.py Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
DebuggingJITedCode.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
DeveloperPolicy.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
doxygen.cfg.in Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
doxygen.css Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
doxygen.footer Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
doxygen.header Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
doxygen.intro Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Dummy.html Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
ExceptionHandling.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
ExtendedIntegerResults.txt Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
ExtendingLLVM.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Extensions.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
FAQ.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
GarbageCollection.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
gcc-loops.png Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
GetElementPtr.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
GettingStarted.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
GettingStartedVS.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
GoldPlugin.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
HowToAddABuilder.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
HowToBuildOnARM.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
HowToCrossCompileLLVM.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
HowToReleaseLLVM.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
HowToSetUpLLVMStyleRTTI.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
HowToSubmitABug.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
HowToUseAttributes.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
HowToUseInstrMappings.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
index.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
LangRef.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Lexicon.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
LinkTimeOptimization.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
linpack-pc.png Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
LLVMBuild.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
LLVMBuild.txt Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
make.bat Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Makefile Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Makefile.sphinx Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
MakefileGuide.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
MarkedUpDisassembly.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
MCJIT-creation.png Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
MCJIT-dyld-load.png Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
MCJIT-engine-builder.png Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
MCJIT-load-object.png Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
MCJIT-load.png Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
MCJIT-resolve-relocations.png Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
MCJITDesignAndImplementation.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
NVPTXUsage.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Packaging.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Passes.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Phabricator.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
ProgrammersManual.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Projects.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
re_format.7 Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
README.txt Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
ReleaseNotes.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
ReleaseProcess.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
SegmentedStacks.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
SourceLevelDebugging.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
SphinxQuickstartTemplate.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
SystemLibrary.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
TableGenFundamentals.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
TestingGuide.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
TestSuiteMakefileGuide.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
Vectorizers.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
WritingAnLLVMBackend.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
WritingAnLLVMPass.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
yaml2obj.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00
YamlIO.rst Importing netbsd clang -- pristine 2014-07-28 17:05:57 +02:00

LLVM Documentation
==================

LLVM's documentation is written in reStructuredText, a lightweight
plaintext markup language (file extension `.rst`). While the
reStructuredText documentation should be quite readable in source form, it
is mostly meant to be processed by the Sphinx documentation generation
system to create HTML pages which are hosted on <http://llvm.org/docs/> and
updated after every commit. Manpage output is also supported, see below.

If you instead would like to generate and view the HTML locally, install
Sphinx <http://sphinx-doc.org/> and then do:

    cd docs/
    make -f Makefile.sphinx
    $BROWSER _build/html/index.html

The mapping between reStructuredText files and generated documentation is
`docs/Foo.rst` <-> `_build/html/Foo.html` <-> `http://llvm.org/docs/Foo.html`.

If you are interested in writing new documentation, you will want to read
`SphinxQuickstartTemplate.rst` which will get you writing documentation
very fast and includes examples of the most important reStructuredText
markup syntax.

Manpage Output
===============

Building the manpages is similar to building the HTML documentation. The
primary difference is to use the `man` makefile target, instead of the
default (which is `html`). Sphinx then produces the man pages in the
directory `_build/man/`.

    cd docs/
    make -f Makefile.sphinx man
    man -l _build/man/FileCheck.1

The correspondence between .rst files and man pages is
`docs/CommandGuide/Foo.rst` <-> `_build/man/Foo.1`.
These .rst files are also included during HTML generation so they are also
viewable online (as noted above) at e.g.
`http://llvm.org/docs/CommandGuide/Foo.html`.