<div dir="ltr">Try adding this just above SYNOPSIS (I think you also need to leave a blank line above and below):<div><br></div><div><div>.. contents::</div><div>   :local:</div></div><div><br></div><div>hth...</div><div>don</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 10, 2017 at 4:46 PM, Zachary Turner via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've read through the docs, but honestly this is driving me crazy and I shouldn't have to fight this hard to just to write some documentation.<div><br></div><div>Here's the problem:</div><div><br></div><div>Look at llvm/docs/CommandGuide/<wbr>FileCheck.rst</div><div><br></div><div>I want to add a table of contents that looks like this [<a href="http://llvm.org/docs/CMake.html" target="_blank">http://llvm.org/docs/CMake.<wbr>html</a>] to that file.  Nothing I've tried works.  </div><div><br></div><div>(Also, no I'm not trying to add it in FileCheck.rst specifically, but rather in a new document that will be added to CommandGuide.  But if it works in FileCheck.rst, it should work in my new document)</div></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>