From 5bd12bb6f1e09097d7132ca6f69d6ac76ee55185 Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Wed, 23 Nov 2011 10:55:03 -0700 Subject: [PATCH] Clarifying syntax in docs --- collects/web-server/scribblings/templates.scrbl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/collects/web-server/scribblings/templates.scrbl b/collects/web-server/scribblings/templates.scrbl index f9d3f8ea0f..5d85661eea 100644 --- a/collects/web-server/scribblings/templates.scrbl +++ b/collects/web-server/scribblings/templates.scrbl @@ -2,6 +2,7 @@ @(require "web-server.rkt") @(require (for-label web-server/servlet web-server/templates + racket/include racket/promise racket/list xml)) @@ -358,8 +359,8 @@ the template to be unescaped, then create a @racket[cdata] structure: @section{API Details} -@defform[(include-template path)]{ - Compiles the template at @racket[path] using the @at-reader-ref syntax within the enclosing lexical context. +@defform[(include-template path-spec)]{ + Compiles the template at @racket[path-spec] using the @at-reader-ref syntax within the enclosing lexical context. The @racket[path-spec] is the same format used by @racket[include]. Example: @racketblock[