summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <okay@toyful.space>2021-05-14 14:18:41 -0500
committerColin Okay <okay@toyful.space>2021-05-14 14:18:41 -0500
commit41e88da82477201c9a25e1c3000066be399931c1 (patch)
tree28900a2e80cf23bf64318dcdc95c6301a76b41dc
parent6f881c35e820cc5704a930bbb238d252a87be5c1 (diff)
docstrings
-rw-r--r--flexo.lisp10
1 files changed, 10 insertions, 0 deletions
diff --git a/flexo.lisp b/flexo.lisp
index 166ffc6..c05d68d 100644
--- a/flexo.lisp
+++ b/flexo.lisp
@@ -298,6 +298,11 @@ artifact tables have changed."
:text (ps:ps ,@parenscript-code)))
(defmacro define-ps-script (name url-string &body parenscript-code)
+ "Defines a thunk named NAME that, when called, creates an instance
+ of PS-SCRIPT. Intended to be used to define named scripts that can
+ be called within a site building recipe. Keeping the script
+ definition outside of the body of the recipe supports interactive
+ development."
`(defun ,name ()
(ps-script ,url-string
,@parenscript-code)))
@@ -310,6 +315,11 @@ artifact tables have changed."
:text (lass:compile-and-write ,@lass-code)))
(defmacro define-lass-sheet (name url &body lass-code)
+ "Defines a thunk named NAME that, when called, creates an instance
+ of LASS-SHEET. Intended to be used to define named stylesheets
+ that can be called within a single site building recipe. Keepng the
+ sheet defintion outside the body of the recipe supports interactive
+ development."
`(defun ,name ()
(lass-sheet ,url ,@lass-code)))