<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [Docs] toctree contains reference to nonexisting document 'AttributeReference'"
   href="https://bugs.llvm.org/show_bug.cgi?id=50912">50912</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[Docs] toctree contains reference to nonexisting document 'AttributeReference'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>-New Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>shivam98.tkg@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>