(index ("spiffy-directory-listing" 0) ("list-dotfiles?" 279) ("list-directory" 439) ("format-listing" 600) ("directory-listing-page" 835) ("directory-listing-css" 1102) ("directory-listing-doctype" 1522) ("directory-listing-title" 1748) ("sxml->html" 1908))
(def (sig (procedure "(spiffy-directory-listing path)" (id spiffy-directory-listing))) (p "Generates an HTML page using the directory listing from the given " (tt "path") " (a string).  It's supposed to be used as the value for Spiffy's " (tt "handle-directory") " parameter."))
(def (sig (parameter "(list-dotfiles? [boolean])" (id list-dotfiles?))) (p "Indicates whether filenames whose name start with " (tt ".") " should be listed."))
(def (sig (parameter "(list-directory [procedure])" (id list-directory))) (p "An one argument procedure to generate the directory listing for the given path."))
(def (sig (parameter "(format-listing [procedure])" (id format-listing))) (p "A two-arguments procedure used to format the directory listing.  The two arguments are: the path being listed and the list of files under the given path."))
(def (sig (parameter "(directory-listing-page [procedure])" (id directory-listing-page))) (p "A two-arguments procedure used to format the listing page.  The two arguments are: the path being listed and the page contents (usually the formatted directory listing)."))
(def (sig (parameter "(directory-listing-css [css])" (id directory-listing-css))) (p "The CSS rules to be applied to the directory listing page.  The syntax for the parameter value is the same as for the " (tt "css") " keyword parameter for " (int-link "/eggref/4/html-utils" "html-utils") "'s " (tt "html-page") " (considering that the default value for " (tt "directory-listing-page") " uses " (tt "html-page") ")."))
(def (sig (parameter "(directory-listing-doctype [doctype])" (id directory-listing-doctype))) (p "The doctype (a string) to be used for the directory listing page (see the " (int-link "/eggref/4/doctype" "doctype") " egg)."))
(def (sig (parameter "(directory-listing-title [string])" (id directory-listing-title))) (p "The title (a string) to be used for the directory listing page."))
(def (sig (parameter "(sxml->html [SXML])" (id sxml->html))) (p "The procedure used to transform SXML into HTML internally. The default value is:") (highlight scheme "(let ((rules `((literal *preorder* . ,(lambda (t b) b))\n               . ,universal-conversion-rules*)))\n  (lambda (sxml)\n    (with-output-to-string\n      (lambda ()\n        (SRV:send-reply (pre-post-order* sxml rules))))))") (p "This parameter has been introduced in version 0.2."))
