[PATCH] D76534: [clang/docs] Fix various sphinx warnings/errors in docs.
Florian Hahn via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 20 15:45:12 PDT 2020
fhahn created this revision.
fhahn added reviewers: jfb, Bigcheese, dexonsmith.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
There are a few places with unexpected indents that trip over sphinx and
other syntax errors.
Also, the C++ syntax highlighting does not work for
class [[gsl::Owner(int)]] IntOwner {
Use a regular code:: block instead.
There are a few other warnings errors remaining, of the form
'Duplicate explicit target name: "cmdoption-clang--prefix"'. They seem
to be caused by the following
.. option:: -B<dir>, --prefix <arg>, --prefix=<arg>
I am no Restructured Text expert, but it seems like sphinx 1.8.5
tries to generate the same target for the --prefix <arg> and
--prefix=<arg>. This pops up in a lot of places and I am not sure how to
best resolve it
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76534
Files:
clang/docs/InternalsManual.rst
clang/docs/LanguageExtensions.rst
clang/docs/OpenMPSupport.rst
clang/docs/analyzer/checkers.rst
clang/docs/analyzer/developer-docs/DebugChecks.rst
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/DiagnosticGroups.td
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76534.251788.patch
Type: text/x-patch
Size: 8115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200320/aa3edabe/attachment.bin>
More information about the cfe-commits
mailing list