llvm-c166/llvm/docs
Chinmay Deshpande 1debe44f47
[AMDGPU] Move EU and Wave Queries into TargetParser (#215681)
Co-authored by: Soumil Kushwaha
2026-08-26 14:23:28 -07:00
..
_ocamldoc
_static [docs] de-highlight code snippet errors in dark mode (#212894) 2026-07-29 17:14:39 -07:00
_templates
_themes/llvm-theme
AMDGPU [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUDwarfExtensionAllowLocationDescriptionOnTheDwarfExpressionStack [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CommandGuide [AMDGPU] Move EU and Wave Queries into TargetParser (#215681) 2026-08-26 14:23:28 -07:00
DependenceGraphs [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
DirectX [docs] Finish MyST migration for PDB, DirectX, and GlobalISel docs (#217159) 2026-08-24 17:23:07 -07:00
Frontend [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
GlobalISel [LLVM] Add llvm.vector.reduce.{min, max}imumnum (#218295) 2026-08-26 13:04:16 +02:00
HistoricalNotes
PDB [docs] Finish MyST migration for PDB, DirectX, and GlobalISel docs (#217159) 2026-08-24 17:23:07 -07:00
Proposals [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
RISCV [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
TableGen [clang][docs] Migrate AttributeReference to markdown (#215631) 2026-08-13 10:38:53 -07:00
tutorial [docs] Finish MyST migration for tutorial docs (#217160) 2026-08-19 11:57:52 -07:00
AArch64SME.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AddingConstrainedIntrinsics.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AdminTasks.md
AdvancedBuilds.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AIToolPolicy.md
AliasAnalysis.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
AlignedBundling.rst [MC][X86] Reintroduce aligned instruction bundling (#175830) 2026-08-03 16:26:51 -07:00
AMDGPUAsyncOperations.md [Docs][AMDGPU] Explain completion of async operations (#212756) 2026-07-30 14:05:00 +05:30
AMDGPUDMAOperations.md [Docs][AMDGPU] Eliminate incorrect use of double backticks [NFC] (#212343) 2026-07-27 20:47:23 +00:00
AMDGPUDwarfExtensionsForHeterogeneousDebugging.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUExecutionSynchronization.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUInstructionNotation.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUInstructionSyntax.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUMemoryModel.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
AMDGPUModifierSyntax.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUOperandSyntax.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
AMDGPUUsage.rst [AMDGPU] Define gfx1250-strict target (#218543) 2026-08-25 13:11:13 -07:00
ARM-BE-bitcastfail.png
ARM-BE-bitcastsuccess.png
ARM-BE-ld1.png
ARM-BE-ldr.png
AssignmentTracking.md
Atomics.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Benchmarking.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
BigEndianNEON.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
BitCodeFormat.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
BlockFrequencyTerminology.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
BranchWeightMetadata.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
BugLifeCycle.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
buildbot_worker_contact.png
BuildingADistribution.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
CallGraphSection.md
CFIVerify.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CIBestPractices.rst [CI] Add documentation for self-hosted runners (#211622) 2026-07-27 18:27:14 -04:00
CMake.md [docs] Update docs for CMake LLVM_LIT_TOOLS_DIR to Git for Windows (#217003) 2026-08-20 10:48:10 +01:00
CMakeLists.txt
CMakePrimer.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
CodeGenerator.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
CodeOfConduct.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
CodeReview.rst
CodingStandards.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
CommandLine.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
CompileCudaWithLLVM.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
CompilerWriterInfo.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
conf.py [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
ContentAddressableStorage.md [CAS] Add ObjectStore::getStandaloneMemoryBuffer() (#215360) 2026-08-13 09:30:52 -07:00
Contributing.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
convergence-both-diverged-nested.png
convergence-closed-path.png
convergence-divergent-inside.png
convergence-divergent-outside.png
convergence-natural-loop.png
ConvergenceAndUniformity.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
ConvergentOperations.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Coroutines.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
CoverageMappingFormat.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
cycle-1.png
cycle-2.png
cycle-3.png
CycleTerminology.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
DebuggingJITedCode.md
DebuggingLLVM.md
DeveloperPolicy.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
DirectXUsage.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
DiscourseMigrationGuide.md
Docker.md
doxygen-mainpage.dox
doxygen.cfg.in
DTLTO.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
DynamicDebugging.md [dyndbg][LLVM] Implement dynamic debugging support (#194854) 2026-08-13 11:49:23 +01:00
DynDbgObjLayout.png [dyndbg] Add Dynamic Debugging docs (#210001) 2026-08-04 08:00:21 +01:00
epilogue-vectorization-cfg.png
ExceptionHandling.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
ExtendedIntegerResults.txt
ExtendingLLVM.md
Extensions.md [dyndbg] Add SHT_LLVM_DYNDBG_ELF to Dynamic Debugging docs (#213853) 2026-08-04 11:19:48 +01:00
FAQ.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
FatLTO.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
FaultMaps.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
FuzzingLLVM.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
GarbageCollection.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
gcc-loops.png
GetElementPtr.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
GettingInvolved.md [Docs] Delete BugpointRedesign (#212518) 2026-07-28 08:27:51 -07:00
GettingStarted.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
GettingStartedTutorials.md
GettingStartedVS.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
GitBisecting.rst
GitHub.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
GitHubActionsRunners.rst [CI] Add documentation for self-hosted runners (#211622) 2026-07-27 18:27:14 -04:00
GitRepositoryPolicy.md
GoldPlugin.md
GwpAsan.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
HowToAddABuilder.rst
HowToBuildOnARM.md
HowToBuildWindowsItaniumPrograms.md
HowToBuildWithPGO.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
HowToCrossCompileBuiltinsOnArm.md
HowToCrossCompileLLVM.md [docs] Fix CMAKE_CROSSCOMPILING spelling in HowToCrossCompileLLVM (#217623) 2026-08-21 09:21:45 +08:00
HowToReleaseLLVM.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
HowToSetUpLLVMStyleRTTI.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
HowToSubmitABug.rst [LLVM][Docs] Remove bugpoint references 2026-08-05 17:52:45 -07:00
HowToUpdateDebugInfo.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
HowToUseAttributes.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
HowToUseInstrMappings.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
InAlloca.rst
index.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
InstCombineContributorGuide.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
InstrProfileFormat.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
InstrRefDebugInfo.md
Instrumentor.md [Instrumentor] Reintroduce runtime inlining (#208072) 2026-07-27 18:43:05 -05:00
InterfaceExportAnnotations.rst
JITLink.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
KernelInfo.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
KeyInstructionsDebugInfo.md
LangRef.md [DebugInfo] Add DW_TAG_property support to LLVM DebugInfo (#215776) 2026-08-26 18:43:17 +00:00
Lexicon.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
LFI.md [LFI][X86] Enable bundling for the LFI target (#214111) 2026-08-17 20:53:50 -07:00
LibFuzzer.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
LinkTimeOptimization.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
linpack-pc.png
llvm_telemetry_design.png
loop-guard.svg
loop-irreducible.svg
loop-merge.svg
loop-nested.svg
loop-nonmaximal.svg
loop-separate.svg
loop-single.svg
loop-terminology-guarded-loop.png
loop-terminology-initial-loop.png
loop-terminology-rotated-loop.png
loop-terminology.svg
LoopFusion.rst
LoopTerminology.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
make.bat
MarkdownQuickstartTemplate.md
MarkedUpDisassembly.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MCJIT-creation.png
MCJIT-dyld-load.png
MCJIT-engine-builder.png
MCJIT-load-object.png
MCJIT-load.png
MCJIT-resolve-relocations.png
MCJITDesignAndImplementation.md
MeetupGuidelines.rst
MemoryModelRelaxationAnnotations.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MemorySSA.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MemProf.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
MemTagSanitizer.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MergeFunctions.md [MergeFunctions] Fix merging functions with different KCFI type identifiers (#217665) 2026-08-26 08:01:32 -07:00
MIRLangRef.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
MisExpect.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
MLGO.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
MyFirstTypoFix.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
NewPassManager.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
NVPTXUsage.md [LLVM][NVPTX] Add support for TMA prefetch Rubin extensions (#217630) 2026-08-26 13:47:05 +05:30
OpaquePointers.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
OptBisect.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
ORCv2.md [ORC] Add AutoImportGenerator for COFF dllimport auto-import (#203914) 2026-08-02 22:39:46 +10:00
Passes.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
PCSectionsMetadata.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
PointerAuth.md
ProgrammersManual.md [FoldingSet] Switch to linear probing and Algorithm R deletion (#218190) 2026-08-26 18:51:20 +00:00
ProjectGovernance.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Projects.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
QualGroup.rst
re_format.7
README.txt
Reference.md [MC][X86] Reintroduce aligned instruction bundling (#175830) 2026-08-03 16:26:51 -07:00
ReleaseNotes.md [LLVM] Add llvm.vector.reduce.{min, max}imumnum (#218295) 2026-08-26 13:04:16 +02:00
ReleaseNotesTemplate.txt [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
ReleaseProcess.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Remarks.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
RemoveDIsDebugInfo.md
ReportingGuide.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
requirements.txt
requirements.txt.in
ResponseGuide.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
RFCProcess.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
RISCVUsage.md [RISCV][MC] Add experimental Smip, and Ssip support (#215095) 2026-08-22 06:24:35 +08:00
SandboxIR.md
SandboxVectorizer.md [SandboxVec] Rename BottomUpVec to BundleVec (#213197) 2026-08-03 20:08:03 +00:00
ScudoHardenedAllocator.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Security.rst [Nomination] Update HighTec representatives of the Security Group (#206457) 2026-08-20 22:01:58 +02:00
SecurityTransparencyReports.rst
SegmentedStacks.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
SourceLevelDebugging.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
speculative_load_hardening_microbenchmarks.png
SpeculativeLoadHardening.md
SphinxQuickstartTemplate.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
SPIRVUsage.md [SPIR-V] Implement SPV_KHR_untyped_pointers extension (#201233) 2026-08-07 20:11:56 +02:00
StackMaps.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
StackSafetyAnalysis.md
Statepoints.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
SupportLibrary.md
SupportPolicy.rst
SymbolizerMarkupFormat.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
SystemLibrary.rst
TableGenFundamentals.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
Telemetry.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
TestingGuide.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
TestSuiteGuide.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
TransformMetadata.rst Enforce single-operand form for llvm.loop.vectorize metadata (#210932) 2026-08-03 06:58:28 +00:00
TypeMetadata.rst
UndefinedBehavior.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
UserGuides.md [dyndbg] Add Dynamic Debugging docs (#210001) 2026-08-04 08:00:21 +01:00
VectorizationPlan.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
Vectorizers.md [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
vplan-early-exit-lowered.dot
vplan-early-exit-lowered.png
vplan-early-exit.dot
vplan-early-exit.png
vplan-scope.png
vplan-transform-pipeline.png
WritingAnLLVMBackend.md [LLVM][docs] Small updates to Writing an Backend (#212586) 2026-08-18 09:23:36 -04:00
WritingAnLLVMNewPMPass.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
WritingAnLLVMPass.md [docs] Prefer colon fences to delineate blocks containing markup (#214921) 2026-08-08 14:31:46 -07:00
XRay.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
XRayExample.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
XRayFDRFormat.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07:00
yaml2obj.md [docs] Finish MyST migration for selected LLVM docs (#214618) 2026-08-10 16:20:00 -07:00
YamlIO.rst [Docs] Reland Furo theme for LLVM docs (#211993) 2026-07-27 08:33:03 -07: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 <https://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 <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

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

If you are interested in writing new documentation, you will want to read
`SphinxQuickstartTemplate.md` 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-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

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

Checking links
==============

The reachability of external links in the documentation can be checked by
running:

    cd llvm/docs/
    sphinx-build -b linkcheck . _build/lintcheck/
    # report will be generated in _build/lintcheck/output.txt

Doxygen page Output
==============

Install doxygen <https://www.doxygen.nl/download.html> and dot2tex <https://dot2tex.readthedocs.io/en/latest>.

    cd <build-dir>
    cmake -DLLVM_ENABLE_DOXYGEN=On <llvm-top-src-dir>
    make doxygen-llvm # for LLVM docs
    make doxygen-clang # for clang docs

It will generate html in

    <build-dir>/docs/doxygen/html # for LLVM docs
    <build-dir>/tools/clang/docs/doxygen/html # for clang docs