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: unassignedclangb...@nondot.org
          Reporter: shivam98....@gmail.com
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to