r2692: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 16 Sep 2002 06:07:02 +0000 (06:07 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 16 Sep 2002 06:07:02 +0000 (06:07 +0000)
README [deleted file]
doc/Makefile [new file with mode: 0644]
doc/make.cl [new file with mode: 0644]
doc/readme.html [new file with mode: 0644]
doc/readme.lml [new file with mode: 0644]

diff --git a/README b/README
deleted file mode 100644 (file)
index f9a0da1..0000000
--- a/README
+++ /dev/null
@@ -1,3 +0,0 @@
-LML is a Common Lisp package for generating HTML and XHTML documents.
-
-The home page for LML is http://lml.b9.com/
diff --git a/doc/Makefile b/doc/Makefile
new file mode 100644 (file)
index 0000000..dadee61
--- /dev/null
@@ -0,0 +1,10 @@
+.PHONY: site all clean
+
+all: site
+
+site: 
+       lisp -init `pwd`/make.cl
+
+clean:
+       @rm -f *~ \#*\# .\#* memdump
+
diff --git a/doc/make.cl b/doc/make.cl
new file mode 100644 (file)
index 0000000..5f06b4b
--- /dev/null
@@ -0,0 +1,5 @@
+(require :lml)
+(in-package :lml)
+(let ((cwd (parse-namestring (lml-cwd))))
+  (process-dir cwd))
+(lml-quit)
diff --git a/doc/readme.html b/doc/readme.html
new file mode 100644 (file)
index 0000000..57ccaaf
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head><title>LML README</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta><meta content="Kevin Rosenberg 2002 <kevin@rosenberg.net>" name="Copyright"></meta><meta content="Lisp Markup Language Documentation" name="description"></meta><meta content="Kevin Rosenberg" name="author"></meta><meta content="Common Lisp, HTML, Markup Langauge" name="keywords"></meta></head><body><h1>LML Documentation</h1><h2>Overview</h2><p>LML is a Common Lisp package for generating HTML and XHTML documents. LML is authored by <a href="mailto:kevin@rosenberg.net">Kevin Rosenberg</a>. The home page for LML is <a href="http://lml.b9.com/">http://www.b9.com/</a>.</p><h2>Installation</h2><p>The easiest way to install LML is to use the <a href="http://www.debian.org/">Debian</a> GNU/Linux operating system. You can then use the command <tt>apt-get install cl-lml</tt> to automatically download and install the LML package.</p><p>On a non-Debian system, you need to have either <a href="http://cclan.sourceforge.net/">ASDF</a> or <a href="http://www.sourceforge.net/clocc/">mk-defsystem</a> installed to load the system definition file. You will need to change the source pathname in the system file to match the location where you have installed LML.</p><h2>Usage</h2><p>Currently, there is no documentation on the functions provided by LML. However, the source code is instructive and there are example files included in the LML package.</p><h2>Examples</h2><table><tbody border="1"><tr><td style="color:000;background-color:ccc;font-weight:bold;" colspan="2">Iteration</td></tr><tr><td><pre>"The square of the first five integers are"
+  (loop as x from 1 to 5 
+      doing
+      (lml-print " ~D" (* x x)))</pre></td><td> 1 4 9 16 25</td></tr></tbody></table></body></html>
\ No newline at end of file
diff --git a/doc/readme.lml b/doc/readme.lml
new file mode 100644 (file)
index 0000000..f43c809
--- /dev/null
@@ -0,0 +1,56 @@
+;;; -*- Mode: Lisp -*-
+
+(in-package :lml)
+
+(page readme
+   (head
+    (title "LML README")
+    (meta-key :http-equiv "Content-Type" :content "text/html; charset=iso-8859-1")
+    (meta "Copyright" "Kevin Rosenberg 2002 <kevin@rosenberg.net>")
+    (meta "description" "Lisp Markup Language Documentation")
+    (meta "author" "Kevin Rosenberg")
+    (meta "keywords" "Common Lisp, HTML, Markup Langauge"))
+
+   (body
+    (h1 "LML Documentation")
+    (h2 "Overview")
+    (p "LML is a Common Lisp package for generating HTML and XHTML documents. "
+       "LML is authored by "
+       (a :href "mailto:kevin@rosenberg.net" "Kevin Rosenberg") ". "
+       "The home page for LML is " 
+       (a :href "http://lml.b9.com/" "http://www.b9.com/") ".")
+    
+    (h2 "Installation")
+    (p "The easiest way to install LML is to use the "
+       (a :href "http://www.debian.org/" "Debian")
+       " GNU/Linux operating system. You can then use the command "
+       (tt "apt-get install cl-lml")
+       " to automatically download and install the LML package.")
+    (p "On a non-Debian system, you need to have either "
+       (a :href "http://cclan.sourceforge.net/" "ASDF") " or "
+       (a :href "http://www.sourceforge.net/clocc/" "mk-defsystem")
+       " installed to load the system definition file. You will need to change the source "
+       "pathname in the system file to match the location where you have installed LML.")
+
+    (h2 "Usage")
+    (p "Currently, there is no documentation on the functions provided by LML. "
+       "However, the source code is instructive and there are example files included "
+       "in the LML package.")
+
+    (h2 "Examples")
+    (table
+     (tbody :border 1
+      (tr
+       (td :colspan 2 :style "color:000;background-color:ccc;font-weight:bold;" "Iteration"))
+      (tr
+       (td 
+       (pre
+"\"The square of the first five integers are\"
+  (loop as x from 1 to 5 
+      doing
+      (lml-print \" ~D\" (* x x)))"))
+       (td
+       (loop as x from 1 to 5 
+             doing
+             (lml-print " ~D" (* x x)))))
+      ))))