Revert docs & learn pages to RTF again

This commit is contained in:
PhilipWitte 2015-02-13 13:25:57 -08:00
commit f1aa0a745e
3 changed files with 56 additions and 84 deletions

View file

@ -518,15 +518,15 @@ pre .end { background:url("images/tabEnd.png") no-repeat left bottom; }
.standout h2 { margin-bottom:10px; padding-bottom:10px; border-bottom:1px dashed rgba(0,0,0,.8); } .standout h2 { margin-bottom:10px; padding-bottom:10px; border-bottom:1px dashed rgba(0,0,0,.8); }
.standout li { margin:0 !important; padding-top:10px; border-top:1px dashed rgba(0,0,0,.2); } .standout li { margin:0 !important; padding-top:10px; border-top:1px dashed rgba(0,0,0,.2); }
.standout ul { padding-bottom:5px; } .standout ul { padding-bottom:5px; }
.standout ul.tools { list-style:url("images/docs-tools.png"); } .standout .tools ul { list-style:url("images/docs-tools.png"); }
.standout ul.libraries { list-style:url("images/docs-libraries.png"); } .standout .libraries ul { list-style:url("images/docs-libraries.png"); }
.standout ul.internals { list-style:url("images/docs-internals.png"); } .standout .internals ul { list-style:url("images/docs-internals.png"); }
.standout ul.tutorials { list-style:url("images/docs-tutorials.png"); } .standout .tutorials ul { list-style:url("images/docs-tutorials.png"); }
.standout ul.examples { list-style:url("images/docs-examples.png"); } .standout .examples ul { list-style:url("images/docs-examples.png"); }
.standout ul.articles { list-style:url("images/docs-articles.png"); } .standout .articles ul { list-style:url("images/docs-articles.png"); }
.standout li:first-child { padding-top:0; border-top:none; } .standout li:first-child { padding-top:0; border-top:none; }
.standout li p { margin:0 0 10px 0 !important; line-height:130%; } .standout li p { margin:0 0 10px 0 !important; line-height:130%; }
.standout li > a { font-weight:bold; } .standout li p > a { font-weight:bold; }
.forum-user-info, .forum-user-info,
.forum-user-info * { cursor:help } .forum-user-info * { cursor:help }

View file

@ -6,22 +6,17 @@ Nim's Documentation
Standards & Guides Standards & Guides
------------------ ------------------
.. raw:: html .. container:: libraries
<ul class="libraries"> - | `Standard Library <lib.html>`_
<li> | This document describes Nim's standard library.
<a href="lib.html">Standard Library</a><br>
<p>This document describes Nim's standard library.</p> - | `Language Manual <manual.html>`_
</li> | The Nim manual is a draft that will evolve into a proper specification.
<li>
<a href="manual.html">Language Manual</a><br> - | `Compiler User Guide <nimc.html>`_
<p>The Nim manual is a draft that will evolve into a proper specification.</p> | The user guide lists command line arguments, special features of the
</li> compiler, etc.
<li>
<a href="nimc.html">Compiler User-Guide</a><br>
<p>The user guide lists command line arguments, special features of the compiler, etc.</p>
</li>
</ul>
.. container:: standout .. container:: standout
@ -29,18 +24,14 @@ Nim's Documentation
Tools & Features Tools & Features
---------------- ----------------
.. raw:: html .. container:: tools
<ul class="tools"> - | `Source Code Filters <filters.html>`_
<li> | The Nim compiler supports source code filters as a simple yet powerful
<a href="filters.html">Source-Code Filters</a><br> builtin templating system.
<p>The Nim compiler supports source code filters as a simple yet powerful builtin templating system.</p>
</li> - | `Tools Documentation <tools.html>`_
<li> | Description of some tools that come with the standard distribution.
<a href="tools.html">Tools Documentation</a><br>
<p>Description of some tools that come with the standard distribution.</p>
</li>
</ul>
.. container:: standout .. container:: standout
@ -48,18 +39,15 @@ Nim's Documentation
Internal Details Internal Details
---------------- ----------------
.. raw:: html .. container:: internals
<ul class="internals"> - | `Garbage Collector <gc.html>`_
<li> | Additional documentation about Nim's GC and how to operate it in a
<a href="gc.html">Garbage Collector</a><br> realtime setting.
<p>Additional documentation about Nim's GC and how to operate it in a realtime setting.</p>
</li> - | `Internal Documentation <intern.html>`_
<li> | The internal documentation describes how the compiler is implemented. Read
<a href="intern.html">Internal Documentation</a><br> this if you want to hack the compiler.
<p>The internal documentation describes how the compiler is implemented. Read this if you want to hack the compiler.</p>
</li>
</ul>
Search Options Search Options

View file

@ -6,18 +6,13 @@ Learning Nim
Tutorials Tutorials
--------- ---------
.. raw:: html .. container:: tutorials
<ul class="tutorials"> - | `Tutorial (part I) <tut1.html>`_
<li> | Learn the basics of Nim's types, variables, procedures, control flow, etc...
<a href="tut1.html">Tutorial (part I)</a><br>
<p>Learn the basics of Nim's types, variables, procedures, control flow, etc...</p> - | `Tutorial (part II) <tut2.html>`_
</li> | Learn Nim's more advanced features such as OOP, generics, macros, etc...
<li>
<a href="tut2.html">Tutorial (part II)</a><br>
<p>Learn Nim's more advanced features such as OOP, generics, macros, etc...</p>
</li>
</ul>
.. container:: standout .. container:: standout
@ -25,22 +20,16 @@ Learning Nim
Examples Examples
-------- --------
.. raw:: html .. container:: examples
<ul class="examples"> - | `Nim by Example <http://nim-by-example.github.io/>`_
<li> | Nim by Example is an excellent starting place for beginners.
<a href="http://nim-by-example.github.io">Nim by Example</a><br>
<p>Nim by Example is an excellent starting place for beginners.</p> - | `Nim on Rosetta Code <http://rosettacode.org/wiki/Category:Nimrod>`_
</li> | Many different Nim code examples comparable to other languages for reference.
<li>
<a href="http://rosettacode.org/wiki/Category:Nimrod">Nim on Rosetta Code</a><br> - | `Nim for C/C++ Programmers <https://github.com/Araq/Nim/wiki/Nim-for-C-programmers>`_
<p>Many different Nim code examples comparable to other languages for reference.</p> | A useful cheat-sheet for those most familiar with C/C++ languages.
</li>
<li>
<a href="https://github.com/Araq/Nim/wiki/Nim-for-C-programmers">Nim for C/C++ Programmers</a><br>
<p>A useful cheat-sheet for those most familiar with C/C++ languages.</p>
</li>
</ul>
.. container:: standout .. container:: standout
@ -48,21 +37,16 @@ Learning Nim
Articles Articles
-------- --------
.. raw:: html .. container:: articles
<ul class="articles"> - `How I Start: Nim <http://howistart.org/posts/nim/1>`_
<li> - `Getting Started With Nim <https://akehrer.github.io/nim/2015/01/05/getting-started-with-nim.html>`_
<a href="http://www.drdobbs.com/open-source/nimrod-a-new-systems-programming-languag/240165321">Dr Dobbs Nimrod Publication</a><br> - `Getting Started With Nim - Part 2 <https://akehrer.github.io/nim/2015/01/14/getting-started-with-nim-pt2.html>`_
<p> </p> <!-- TODO: fix CSS so these empty paragraphs aren't needed --!> - `What is special about Nim? <http://hookrace.net/blog/what-is-special-about-nim>`_
</li> - `What makes Nim practical? <http://hookrace.net/blog/what-makes-nim-practical>`_
<li><a href="http://goran.krampe.se/nim/">Göran Krampe's Nim Articles</a><br><p> </p></li> - `Learn Nim in minutes <http://learnxinyminutes.com/docs/nim>`_
<li><a href="http://hookrace.net/blog/what-is-special-about-nim/">What is special about Nim?</a><br><p> </p></li> - `Dr Dobbs Nimrod Publication <http://www.drdobbs.com/open-source/nimrod-a-new-systems-programming-languag/240165321>`_
<li><a href="http://hookrace.net/blog/what-makes-nim-practical/">What makes Nim practical?</a><br><p> </p></li> - `Nim articles by Göran Krampe <http://goran.krampe.se/category/nim>`_
<li><a href="https://akehrer.github.io/nim/2015/01/05/getting-started-with-nim.html">Getting Started With Nim</a><br><p> </p></li>
<li><a href="https://akehrer.github.io/nim/2015/01/14/getting-started-with-nim-pt2.html">Getting Started With Nim - Part 2</a><br><p> </p></li>
<li><a href="https://akehrer.github.io/nim/2015/01/24/connecting-nim-to-python.html">Connecting Nim to Python</a><br><p> </p></li>
<li><a href="http://programmingthomas.com/blog/2015/1/27/nim-on-ios">Nim on iOS</a><br></li>
</ul>
Documentation Documentation