documentation fixes

pull/9/head
Matthew Butterick 11 years ago
parent 46d03bfd41
commit e05f783e97

@ -1,6 +1,6 @@
#lang scribble/manual #lang scribble/manual
@(require scribble/eval pollen/cache pollen/world (for-label racket pollen/world pollen/render pollen/file sugar)) @(require scribble/eval pollen/cache pollen/world (for-label racket pollen/world pollen/render pollen/file sugar txexpr))
@(define my-eval (make-base-eval)) @(define my-eval (make-base-eval))
@(my-eval `(require pollen)) @(my-eval `(require pollen))

@ -1,6 +1,6 @@
#lang scribble/manual #lang scribble/manual
@(require scribble/eval pollen/decode pollen/world (prefix-in html: pollen/html) (for-label racket (except-in pollen #%module-begin) pollen/world pollen/cache pollen/decode txexpr xml pollen/html)) @(require scribble/eval pollen/decode pollen/world (prefix-in html: pollen/html) txexpr (for-label racket (except-in pollen #%module-begin) pollen/world pollen/cache pollen/decode txexpr xml pollen/html))
@(define my-eval (make-base-eval)) @(define my-eval (make-base-eval))
@(my-eval `(require pollen pollen/decode xml racket/list txexpr)) @(my-eval `(require pollen pollen/decode xml racket/list txexpr))

@ -11,7 +11,7 @@
@section{Source formats} @section{Source formats}
@defmodulelang*[(pollen/pre pollen/markdown pollen/markup pollen/pagetree)] @defmodulelang*[(pollen/pre pollen/markdown pollen/markup pollen/ptree)]
The Pollen language is divided into variants, or @italic{dialects}, that are tailored to suit each of the core source formats. The Pollen language is divided into variants, or @italic{dialects}, that are tailored to suit each of the core source formats.

@ -1,6 +1,6 @@
#lang scribble/manual #lang scribble/manual
@(require scribble/eval pollen/render pollen/world (for-label racket pollen/world)) @(require scribble/eval pollen/world (for-label racket pollen/world))
@(define my-eval (make-base-eval)) @(define my-eval (make-base-eval))
@(my-eval `(require pollen pollen/file)) @(my-eval `(require pollen pollen/file))

@ -1,6 +1,6 @@
#lang scribble/manual #lang scribble/manual
@(require scribble/eval pollen/render pollen/world (for-label racket (except-in pollen #%module-begin) pollen/world web-server/templates pollen/file sugar)) @(require scribble/eval pollen/render pollen/world (for-label racket (except-in pollen #%module-begin) pollen/world web-server/templates pollen/file sugar pollen/render))
@(define my-eval (make-base-eval)) @(define my-eval (make-base-eval))
@(my-eval `(require pollen)) @(my-eval `(require pollen))

@ -1,6 +1,6 @@
#lang scribble/manual #lang scribble/manual
@(require scribble/eval pollen/cache pollen/world (for-label racket (except-in pollen #%module-begin) pollen/render xml pollen/pagetree sugar)) @(require scribble/eval pollen/cache pollen/world (for-label racket (except-in pollen #%module-begin) pollen/render xml pollen/pagetree sugar txexpr))
@(define my-eval (make-base-eval)) @(define my-eval (make-base-eval))
@(my-eval `(require pollen pollen/template xml)) @(my-eval `(require pollen pollen/template xml))

@ -13,6 +13,13 @@ A set of global values and parameters that are used throughout the Pollen system
All identifiers are exported with the prefix @racket[world:], and are so documented below. All identifiers are exported with the prefix @racket[world:], and are so documented below.
@defthing[world:default-port integer? #:value 8080]
@defparam[world:current-server-port port integer?
#:value world:default-port]{
A parameter that sets the HTTP port for the project server. Initialized to @racket[world:default-port], which defaults to 8080.}
@deftogether[( @deftogether[(
@defthing[world:main-pollen-export symbol? #:value 'doc] @defthing[world:main-pollen-export symbol? #:value 'doc]
@defthing[world:meta-pollen-export symbol? #:value 'metas] @defthing[world:meta-pollen-export symbol? #:value 'metas]

Loading…
Cancel
Save