[cfe-dev] Documentation problems?

Csaba Dabis via cfe-dev cfe-dev at lists.llvm.org
Fri Jan 10 13:40:51 PST 2020


-DSPHINX_WARNINGS_AS_ERRORS=OFF

On Fri, Jan 10, 2020 at 4:47 PM Gábor Márton via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Hi Balázs,
>
> I call ninja with -v to see the underlying command which are executed:
> `ninja docs-clang-html -v`
> This shows me that sphinx-build is executed with -W, and that switch
> handles all warnings as errors. Just remove that switch and the check will
> go on and you'll see if your modified doc files creates any new warnings or
> not.
>
> Gabor
>
> On Fri, Jan 10, 2020 at 11:08 AM Balázs Kéri via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>
>> I want to compile the clang documentation but get warnings treated as
>> errors that prevent the compilation. Many warnings come from
>> "clang/docs/ClangCommandLineReference.rst" because "Duplicate explicit
>> target name", for example in line 18, 182, 370, 468, 484, 522, 596, ...
>> (then I stopped to fix these). How to exactly fix these or is this a real
>> problem at all? (The llvm/docs/ReleaseNotes.rst file has problems too with
>> not indented bullet list.) I use sphinx with python3.
>>
>> Balázs Kéri
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20200110/354e8ea2/attachment.html>


More information about the cfe-dev mailing list