Attempt to fix lld-sphinx-docs bot.

llvm-svn: 296074
diff --git a/lld/docs/index.rst b/lld/docs/index.rst
index 6da9228..244c5d1 100644
--- a/lld/docs/index.rst
+++ b/lld/docs/index.rst
@@ -11,7 +11,7 @@
 this document. The PE/COFF port is almost complete except the lack of
 the Windows debug info (PDB) support. The Mach-O port is built based
 on a different architecture than the ELF or COFF ports. For the
-details about Mach-O, please read AtomLLD_.
+details about Mach-O, please read :doc:`AtomLLD`.
 
 Features
 --------
@@ -132,6 +132,6 @@
 Internals
 ---------
 
-For the internals of the linker, please read NewLLD_. It is a bit
+For the internals of the linker, please read :doc:`NewLLD`. It is a bit
 outdated but the fundamental concepts remain valid. We'll update the
 document soon.