[llvm-bugs] [Bug 50912] New: [Docs] toctree contains reference to nonexisting document 'AttributeReference'

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jun 27 09:03:42 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50912

            Bug ID: 50912
           Summary: [Docs] toctree contains reference to nonexisting
                    document 'AttributeReference'
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: shivam98.tkg at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

My cmake invocation : 

cmake ../llvm \
 -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=/bin/clang
-DCMAKE_CXX_COMPILER=/bin/clang++ -DLLVM_ENABLE_LLD=ON
-DLLVM_ENABLE_PROJECTS="clang" -DLLVM_BUILD_DOCS=ON -DLLVM_ENABLE_SPHINX=ON
-DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/tmp/llvm
-DLLVM_BUILD_EXAMPLES=ON -DLLVM_CCACHE_BUILD=ON

When I run `make -j4` following error message is shown: 

Generating html Sphinx documentation for llvm into
"/home/xgupta/llvm-project/build/docs/html"

Warning, treated as error:
/home/xgupta/llvm-project/clang/docs/index.rst:16:toctree contains reference to
nonexisting document 'AttributeReference'

When I pass -k to make and force it to continue another warning/error shown for
DiagnosticsReference.

They both (AttributeReference.html and DiagnosticsReference.html generated from
.td files instead of .rst files.

My sphinx version is 3.5.4 .
And I am on the trunk, last commit is 81f6d7c082e8438d81e2b85605458deae71bbab9.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210627/3fe6902f/attachment.html>


More information about the llvm-bugs mailing list