Mercurial Hosting > luan
comparison website/src/docs.html.luan @ 562:7cc9d4a53d3b
remove SimplyHTML from documentation
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Wed, 24 Jun 2015 14:20:00 -0600 |
| parents | 7bc63886d4f2 |
| children | ca169567ce07 |
comparison
equal
deleted
inserted
replaced
| 561:363d07e26549 | 562:7cc9d4a53d3b |
|---|---|
| 1 local Io = require "luan:Io" | 1 local Io = require "luan:Io" |
| 2 local Html = require "luan:Html" | |
| 3 local Http = require "luan:http/Http" | 2 local Http = require "luan:http/Http" |
| 4 local Shared = require "site:/Shared" | 3 local Shared = require "site:/Shared" |
| 5 | 4 |
| 6 | 5 |
| 7 return function() | 6 return function() |
| 8 Io.stdout = Http.response.text_writer() | 7 Io.stdout = Http.response.text_writer() |
| 9 %> | 8 %> |
| 10 <html> | 9 <html> |
| 11 <head> | 10 <head> |
| 12 <% Html.simply_html_head() %> | |
| 13 <title>Luan Documentation</title> | 11 <title>Luan Documentation</title> |
| 12 <style> | |
| 13 @import "/site.css"; | |
| 14 div[link] { | |
| 15 margin: 0.5em 0; | |
| 16 } | |
| 17 </style> | |
| 14 </head> | 18 </head> |
| 15 <body> | 19 <body> |
| 16 <div container> | 20 <% Shared.header() %> |
| 17 <% Shared.header() %> | 21 <h1>Luan Documentation</h1> |
| 18 <h1 margin-bottom="1em">Luan Documentation</h1> | |
| 19 | 22 |
| 20 <big> | 23 <div link><a href="tutorial.html">Tutorial</a></div> |
| 21 <p> | 24 <div link><a href="pil.html">Programming in Lua (book)</a></div> |
| 22 <a href="tutorial.html">Tutorial</a><br> | 25 <div link><a href="manual.html">Reference Manual</a></div> |
| 23 <a href="pil.html">Programming in Lua (book)</a><br> | 26 <div link><a href="diff.html">How Luan differs from Lua</a></div> |
| 24 <a href="manual.html">Reference Manual</a><br> | |
| 25 <a href="diff.html">How Luan differs from Lua</a><br> | |
| 26 </p> | |
| 27 </big> | |
| 28 | |
| 29 </div> | |
| 30 <% Html.simply_html_body_bottom() %> | |
| 31 </body> | 27 </body> |
| 32 </html> | 28 </html> |
| 33 <% | 29 <% |
| 34 end | 30 end |
