docs: Begin Sphinxification of docs/tutorial/
authorSean Silva <silvas@purdue.edu>
Tue, 4 Dec 2012 21:16:41 +0000 (21:16 +0000)
committerSean Silva <silvas@purdue.edu>
Tue, 4 Dec 2012 21:16:41 +0000 (21:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169309 91177308-0d34-0410-b5e6-96231b3b80d8

docs/tutorial/index.html [deleted file]
docs/tutorial/index.rst [new file with mode: 0644]
docs/userguides.rst

diff --git a/docs/tutorial/index.html b/docs/tutorial/index.html
deleted file mode 100644 (file)
index 2c11a9a..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
-                      "http://www.w3.org/TR/html4/strict.dtd">
-<html>
-<head>
-  <title>LLVM Tutorial: Table of Contents</title>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-  <meta name="author" content="Owen Anderson">
-  <meta name="description" 
-  content="LLVM Tutorial: Table of Contents.">
-  <link rel="stylesheet" href="../_static/llvm.css" type="text/css">
-</head>
-
-<body>
-
-<h1>LLVM Tutorial: Table of Contents</h1>
-
-<ol>
-  <li>Kaleidoscope: Implementing a Language with LLVM
-  <ol>
-    <li><a href="LangImpl1.html">Tutorial Introduction and the Lexer</a></li>
-    <li><a href="LangImpl2.html">Implementing a Parser and AST</a></li>
-    <li><a href="LangImpl3.html">Implementing Code Generation to LLVM IR</a></li>
-    <li><a href="LangImpl4.html">Adding JIT and Optimizer Support</a></li>
-    <li><a href="LangImpl5.html">Extending the language: control flow</a></li>
-    <li><a href="LangImpl6.html">Extending the language: user-defined operators</a></li>
-    <li><a href="LangImpl7.html">Extending the language: mutable variables / SSA construction</a></li>
-    <li><a href="LangImpl8.html">Conclusion and other useful LLVM tidbits</a></li>
-  </ol></li>
-  <li>Kaleidoscope: Implementing a Language with LLVM in Objective Caml
-  <ol>
-    <li><a href="OCamlLangImpl1.html">Tutorial Introduction and the Lexer</a></li>
-    <li><a href="OCamlLangImpl2.html">Implementing a Parser and AST</a></li>
-    <li><a href="OCamlLangImpl3.html">Implementing Code Generation to LLVM IR</a></li>
-    <li><a href="OCamlLangImpl4.html">Adding JIT and Optimizer Support</a></li>
-    <li><a href="OCamlLangImpl5.html">Extending the language: control flow</a></li>
-    <li><a href="OCamlLangImpl6.html">Extending the language: user-defined operators</a></li>
-    <li><a href="OCamlLangImpl7.html">Extending the language: mutable variables / SSA construction</a></li>
-    <li><a href="OCamlLangImpl8.html">Conclusion and other useful LLVM tidbits</a></li>
-  </ol></li>
-  <li>Advanced Topics
-  <ol>
-    <li><a href="http://llvm.org/pubs/2004-09-22-LCPCLLVMTutorial.html">Writing
-        an Optimization for LLVM</a></li>
-  </ol></li>
-</ol>
-
-</body>
-</html>
diff --git a/docs/tutorial/index.rst b/docs/tutorial/index.rst
new file mode 100644 (file)
index 0000000..2da4212
--- /dev/null
@@ -0,0 +1,36 @@
+LLVM Tutorial: Table of Contents
+================================
+
+.. TODO:: Use Sphinx toctree once all of these pages are converted.
+
+#. Kaleidoscope: Implementing a Language with LLVM
+
+   #. `Tutorial Introduction and the Lexer <LangImpl1.html>`__
+   #. `Implementing a Parser and AST <LangImpl2.html>`__
+   #. `Implementing Code Generation to LLVM IR <LangImpl3.html>`__
+   #. `Adding JIT and Optimizer Support <LangImpl4.html>`__
+   #. `Extending the language: control flow <LangImpl5.html>`__
+   #. `Extending the language: user-defined operators <LangImpl6.html>`__
+   #. `Extending the language: mutable variables / SSA
+      construction <LangImpl7.html>`__
+   #. `Conclusion and other useful LLVM tidbits <LangImpl8.html>`__
+
+#. Kaleidoscope: Implementing a Language with LLVM in Objective Caml
+
+   #. `Tutorial Introduction and the Lexer <OCamlLangImpl1.html>`__
+   #. `Implementing a Parser and AST <OCamlLangImpl2.html>`__
+   #. `Implementing Code Generation to LLVM IR <OCamlLangImpl3.html>`__
+   #. `Adding JIT and Optimizer Support <OCamlLangImpl4.html>`__
+   #. `Extending the language: control flow <OCamlLangImpl5.html>`__
+   #. `Extending the language: user-defined
+      operators <OCamlLangImpl6.html>`__
+   #. `Extending the language: mutable variables / SSA
+      construction <OCamlLangImpl7.html>`__
+   #. `Conclusion and other useful LLVM tidbits <OCamlLangImpl8.html>`__
+
+#. Advanced Topics
+
+   #. `Writing an Optimization for
+      LLVM <http://llvm.org/pubs/2004-09-22-LCPCLLVMTutorial.html>`_
+
+
index dd870552b1187f7292aea5e32dd1629efca0e497..81506a1685c432d8986ca5f5e43e713bb45bdd50 100644 (file)
@@ -21,6 +21,7 @@ User Guides
    SphinxQuickstartTemplate
    Phabricator
    TestingGuide
+   tutorial/index
 
 * :ref:`getting_started`
     
@@ -42,7 +43,7 @@ User Guides
    An addendum to the main Getting Started guide for those using Visual Studio
    on Windows.
     
-* `LLVM Tutorial <tutorial/>`_
+* :doc:`tutorial/index`
 
    A walk through the process of using LLVM for a custom language, and the
    facilities LLVM offers in tutorial form.