view website/src/docs.html.luan @ 593:92c9fa5e39e6

remove theme "Get" and "Set", and add "define"
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 31 Aug 2015 10:16:57 -0600
parents 7cc9d4a53d3b
children ca169567ce07
line wrap: on
line source

local Io = require "luan:Io"
local Http = require "luan:http/Http"
local Shared = require "site:/Shared"


return function()
	Io.stdout = Http.response.text_writer()
%>
<html>
	<head>
		<title>Luan Documentation</title>
		<style>
			@import "/site.css";
			div[link] {
				margin: 0.5em 0;
			}
		</style>
	</head>
	<body>
		<% Shared.header() %>
		<h1>Luan Documentation</h1>

		<div link><a href="tutorial.html">Tutorial</a></div>
		<div link><a href="pil.html">Programming in Lua (book)</a></div>
		<div link><a href="manual.html">Reference Manual</a></div>
		<div link><a href="diff.html">How Luan differs from Lua</a></div>
	</body>
</html>
<%
end