Easiest way to build a single .rst file

I’m a complete newbie to building LLVM. What is the simplest way to build a single .rst file so I can look at the HTML? I have CMake, Python, and Sphinx installed.

~~ Paul

Pass -DLLVM_ENABLE_SPHINX=ON to cmake. If you have everything set up correctly when you configure you’ll see a message saying Sphinx enabled. This will create targets called docs-<project>-html where project is llvm or any project enabled with -DLLVM_ENABLE_PROJECTS

Thanks! I’ll read “Building LLVM with CMake” to get started.

Is there a CMake variable that will limit the build to a single file? Or, is there a simple way to invoke Sphinx directly?