[PATCH] Allow CMake to build Sphinx documentation

Duncan P. N. Exon Smith dexonsmith at apple.com
Tue Apr 15 17:21:26 PDT 2014


On 2014-Apr-15, at 15:38, Reid Kleckner <rnk at google.com> wrote:

> On Tue, Apr 15, 2014 at 3:25 PM, Sean Silva <chisophugis at gmail.com> wrote:
> Thanks for the patch. I love the direction but I think it can be simplified quite a bit using the following information:
> 
> Btw, Thanks for tackling issues at the intersection of the docs and the build system. Very brave. If you understand how the CMake install works, it would be a godsend to have it install the manpages (generated by Sphinx's `-b man`) as part of the usual install (if the docs were built, of course).
> 
> I don't think our current docs are useful as man pages.  We'd want to make stripped down docs for each of the tools (llc, opt, clang), and try to document all the options.  Nobody needs 'man llvmLangRef' or 'man llvmInAlloca'.

This is moving off-topic, but it would be a big step up from the
current manpages...



More information about the llvm-commits mailing list