diff options
author | Daniel Dunbar <daniel@zuster.org> | 2012-04-19 16:31:37 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2012-04-19 16:31:37 +0000 |
commit | 21e993c1b1083ef91441a363997d0efc8e646191 (patch) | |
tree | 1c07b2ea2dd18b8219d46415cee365abc93578e2 /docs/_templates | |
parent | 75083ebc09a3dd47099e3912ac090dbc907f3eaf (diff) | |
download | llvm-21e993c1b1083ef91441a363997d0efc8e646191.tar.gz llvm-21e993c1b1083ef91441a363997d0efc8e646191.tar.bz2 llvm-21e993c1b1083ef91441a363997d0efc8e646191.tar.xz |
[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
Diffstat (limited to 'docs/_templates')
-rw-r--r-- | docs/_templates/index.html | 50 | ||||
-rw-r--r-- | docs/_templates/layout.html | 4 |
2 files changed, 2 insertions, 52 deletions
diff --git a/docs/_templates/index.html b/docs/_templates/index.html deleted file mode 100644 index efd2a15726..0000000000 --- a/docs/_templates/index.html +++ /dev/null @@ -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 %} diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 4999488120..de5db5caf1 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -8,6 +8,6 @@ {% endblock %} {% block rootrellink %} - <li><a href="{{ pathto('index') }}">LLVM Home</a> | </li> - <li><a href="{{ pathto('contents') }}">Documentation</a>»</li> + <li><a href="http://llvm.org/">LLVM Home</a> | </li> + <li><a href="{{ pathto('index') }}">Documentation</a>»</li> {% endblock %} |