[docs] Convert docs index page into Sphinx.

- Work in progress, this is mostly important because it lets us incrementally migrate the remaining documentation.
 - Lots of styling, editing, and integration work yet to come…
 - PR12589

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155133 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2012-04-19 16:31:37 +00:00
parent 75083ebc09
commit 21e993c1b1
13 changed files with 369 additions and 356 deletions

View File

@@ -1,50 +0,0 @@
{# This template defines the 'index.html' page which we currently only use as
the entry point to the HTML-based documentation, but later can use to provide
an entry point for a Sphinx based LLVM website.
Conceptually, this page is not supposed to be part of the documentation per
se (i.e., the content that would be rendered into a PDF, for example), but
rather provides entry points into the documentation and links to other
content which would only be part of the website. #}
{% extends "layout.html" %}
{% set title = 'lld' %}
{% block body %}
<h1>LLVM System Documentation</h1>
<p class="doc_warning">
This is the front page for the Sphinx-based LLVM documentation. This is
currently a work in progress.
</p>
<h2>Documentation</h2>
<table class="contentstable" align="center" style="margin-left: 30px">
<tr>
<td width="50%">
<p class="biglink"><a class="biglink" href="{{ pathto('contents') }}">
Contents</a><br/>
<span class="linkdescr">for a complete overview</span></p>
<p class="biglink"><a class="biglink" href="{{ pathto('search') }}">
Search page</a><br/>
<span class="linkdescr">search the documentation</span></p>
<p class="biglink"><a class="biglink" href="{{ pathto('genindex') }}">
General Index</a><br/>
<span class="linkdescr">all functions, classes, terms</span></p>
</td></tr>
</table>
<h2>Source</h2>
<p>LLVM is available via public SVN repository:
<tt>svn co
<a href="http://llvm.org/svn/llvm-project/llvm/trunk">
http://llvm.org/svn/llvm-project/llvm/trunk</a></tt>.</p>
<p>LLVM source can be browsed
via <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk">ViewVC</a>.</p>
<p>LLVM is also available via a read-only git mirror:
<tt>git clone
<a href="http://llvm.org/git/llvm.git">
http://llvm.org/git/llvm.git</a></tt>.</p>
{% endblock %}

View File

@@ -8,6 +8,6 @@
{% endblock %}
{% block rootrellink %}
<li><a href="{{ pathto('index') }}">LLVM Home</a>&nbsp;|&nbsp;</li>
<li><a href="{{ pathto('contents') }}">Documentation</a>&raquo;</li>
<li><a href="http://llvm.org/">LLVM Home</a>&nbsp;|&nbsp;</li>
<li><a href="{{ pathto('index') }}">Documentation</a>&raquo;</li>
{% endblock %}