From 2985c098155ffaa7332a06be43f163f4ddc9358f Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Sat, 30 Jan 2016 22:24:40 -0800 Subject: [PATCH] restore parameter docs --- info.rkt | 2 +- pollen/private/ts.rktd | 2 +- pollen/scribblings/setup.scrbl | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/info.rkt b/info.rkt index c38ce6b..ef21203 100644 --- a/info.rkt +++ b/info.rkt @@ -1,7 +1,7 @@ #lang info (define collection 'multi) -(define version "0.9.912.83987") +(define version "0.9.912.84279") (define deps '("base" "txexpr" "sugar" ("markdown" #:version "0.18") "htdp" "at-exp-lib" "html-lib" "rackjure" "web-server-lib" "scribble-text-lib" "rackunit-lib" "gui-lib")) diff --git a/pollen/private/ts.rktd b/pollen/private/ts.rktd index 75a7fd1..55469de 100644 --- a/pollen/private/ts.rktd +++ b/pollen/private/ts.rktd @@ -1 +1 @@ -1454221187 +1454221479 diff --git a/pollen/scribblings/setup.scrbl b/pollen/scribblings/setup.scrbl index a67edba..5c0d31c 100644 --- a/pollen/scribblings/setup.scrbl +++ b/pollen/scribblings/setup.scrbl @@ -125,3 +125,20 @@ Default separators used in decoding. The first two are initialized to @racket["\ @defoverridable[poly-targets (listof symbol?)]{List of symbols that denotes the possible targets of a @racket['poly] source file. Default is @racket['(html)].} + +@section{Parameters} + +I mean @italic{parameters} in the Racket sense, i.e. values that can be fed to @racket[parameterize]. + +@defparam[setup:current-server-port port integer?]{ +A parameter that sets the HTTP port for the project server. Initialized to @racket[setup:default-project-server-port].} + + +@defparam[setup:current-project-root port path?]{ +A parameter that holds the root directory of the current project (e.g., the directory where you launched @code{raco pollen start}).} + +@defparam[setup:current-server-extras-path dir path?]{ +A parameter that reports the path to the directory of support files for the project server. Initialized to @racket[#f], but set to a proper value when the server runs.} + +@defparam[setup:current-poly-target target symbol?]{ +A parameter that reports the current rendering target for @racket[poly] source files. Initialized to @racket['html].}