Mercurial Hosting > luan
comparison website/src/manual.html.luan @ 1652:d5779a264a4a
docs work
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 31 Mar 2022 19:04:59 -0600 |
parents | 5b8f056527a3 |
children | 418b610e887b |
comparison
equal
deleted
inserted
replaced
1651:5b8f056527a3 | 1652:d5779a264a4a |
---|---|
2 local error = Luan.error | 2 local error = Luan.error |
3 local Io = require "luan:Io.luan" | 3 local Io = require "luan:Io.luan" |
4 local Http = require "luan:http/Http.luan" | 4 local Http = require "luan:http/Http.luan" |
5 local Shared = require "site:/lib/Shared.luan" | 5 local Shared = require "site:/lib/Shared.luan" |
6 local head = Shared.head or error() | 6 local head = Shared.head or error() |
7 local header = Shared.header or error() | 7 local docs_header = Shared.docs_header or error() |
8 | 8 |
9 | 9 |
10 return function() | 10 return function() |
11 Io.stdout = Http.response.text_writer() | 11 Io.stdout = Http.response.text_writer() |
12 %> | 12 %> |
26 width: 100px; | 26 width: 100px; |
27 } | 27 } |
28 </style> | 28 </style> |
29 </head> | 29 </head> |
30 <body> | 30 <body> |
31 <% header{[[<a href="docs.html">Documentation</a>]]} %> | 31 <% docs_header() %> |
32 <div content> | 32 <div content> |
33 | 33 |
34 <h1><a href="manual.html">Luan Reference Manual</a></h1> | 34 <h1><a href="manual.html">Luan Reference Manual</a></h1> |
35 | 35 |
36 <p small> | 36 <p small> |