[Docs] Adds Documentation links to sidebar

Adds links to Getting Started/Tutorials, User Guides, and Reference documentation pages to sidebar. Also adds a new section for LLVM IR on the Reference documentation page.

llvm-svn: 374214
diff --git a/llvm/docs/GettingStartedTutorials.rst b/llvm/docs/GettingStartedTutorials.rst
index a8d6034..7124639 100644
--- a/llvm/docs/GettingStartedTutorials.rst
+++ b/llvm/docs/GettingStartedTutorials.rst
@@ -6,6 +6,7 @@
 .. toctree::

    :hidden:

 

+   CompilerWriterInfo

    Frontend/PerformanceTips

    GettingStarted

    GettingStartedVS

@@ -31,4 +32,7 @@
 

 :doc:`GettingStartedVS`

    An addendum to the main Getting Started guide for those using Visual Studio

-   on Windows.
\ No newline at end of file
+   on Windows.

+

+:doc:`CompilerWriterInfo`

+  A list of helpful links for compiler writers.
\ No newline at end of file
diff --git a/llvm/docs/Reference.rst b/llvm/docs/Reference.rst
index a24a8a1..c18b6d0 100644
--- a/llvm/docs/Reference.rst
+++ b/llvm/docs/Reference.rst
@@ -16,7 +16,6 @@
    Bugpoint

    CFIVerify

    CommandGuide/index

-   CompilerWriterInfo

    Coroutines

    DependenceGraphs/index

    ExceptionHandling

@@ -68,23 +67,9 @@
 LLVM Reference

 --------------

 

-:doc:`LLVM Language Reference Manual <LangRef>`

-  Defines the LLVM intermediate representation and the assembly form of the

-  different nodes.

-

 :doc:`FaultMaps`

   LLVM support for folding control flow into faulting machine instructions.

 

-:doc:`InAlloca`

-  Description of the ``inalloca`` argument attribute.

-

-:doc:`Machine IR (MIR) Format Reference Manual <MIRLangRef>`

-   A reference manual for the MIR serialization format, which is used to test

-   LLVM's code generation passes.

-

-:doc:`GlobalISel`

-  This describes the prototype instruction selection replacement, GlobalISel.

-

 :doc:`Atomics`

   Information about LLVM's concurrency model.

 

@@ -92,12 +77,6 @@
    This document describes the design and implementation of exception handling

    in LLVM.

 

-:doc:`CompilerWriterInfo`

-  A list of helpful links for compiler writers.

-

-:doc:`BitCodeFormat`

-   This describes the file format and encoding used for LLVM "bc" files.

-

 :doc:`Extensions`

   LLVM-specific extensions to tools and formats LLVM seeks compatibility with.

 

@@ -198,6 +177,27 @@
 :doc:`FuzzingLLVM`

   Information on writing and using Fuzzers to find bugs in LLVM.

 

+========

+LLVM IR

+========

+

+:doc:`LLVM Language Reference Manual <LangRef>`

+  Defines the LLVM intermediate representation and the assembly form of the

+  different nodes.

+

+:doc:`InAlloca`

+  Description of the ``inalloca`` argument attribute.

+

+:doc:`BitCodeFormat`

+   This describes the file format and encoding used for LLVM "bc" files.

+

+:doc:`Machine IR (MIR) Format Reference Manual <MIRLangRef>`

+   A reference manual for the MIR serialization format, which is used to test

+   LLVM's code generation passes.

+

+:doc:`GlobalISel`

+  This describes the prototype instruction selection replacement, GlobalISel.

+

 =======

 Testing

 =======

diff --git a/llvm/docs/_templates/indexsidebar.html b/llvm/docs/_templates/indexsidebar.html
index 1a7b7df..0046f10 100644
--- a/llvm/docs/_templates/indexsidebar.html
+++ b/llvm/docs/_templates/indexsidebar.html
@@ -1,6 +1,14 @@
 {# This template defines sidebar which can be used to provide common links on
    all documentation pages. #}
 
+<h3>Documentation</h3>
+
+<ul class="want-points">
+    <li><a href="https://llvm.org/docs/GettingStartedTutorials.html">Getting Started/Tutorials</a></li>
+    <li><a href="https://llvm.org/docs/UserGuides.html">User Guides</a></li>
+    <li><a href="https://llvm.org/docs/Reference.html">Reference</a></li>
+</ul>
+
 <h3>Getting Involved</h3>
 
 <ul class="want-points">