documentation tweaks

pull/9/head
Matthew Butterick 11 years ago
parent 1afd2516e8
commit b47457f6ab

@ -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/world pollen/cache pollen/render pollen/file sugar)) @(require scribble/eval pollen/cache pollen/world (for-label racket pollen/world pollen/render pollen/file sugar))
@(define my-eval (make-base-eval)) @(define my-eval (make-base-eval))
@(my-eval `(require pollen)) @(my-eval `(require pollen))

@ -2,7 +2,7 @@
@(require scribble/bnf scribble/eval "utils.rkt" @(require scribble/bnf scribble/eval "utils.rkt"
(for-syntax racket/base) (for-syntax racket/base)
(for-label (only-in scribble/reader (for-label (only-in scribble/reader
use-at-readtable) pollen/world pollen/tag)) use-at-readtable)))
@(define read-eval (make-base-eval)) @(define read-eval (make-base-eval))
@(interaction-eval #:eval read-eval (require (for-syntax racket/base))) @(interaction-eval #:eval read-eval (require (for-syntax racket/base)))
@ -297,7 +297,7 @@ For instance, suppose we want to use @tt{map} as a tag even though Racket is usi
@racketoutput{@literal{'(my-map "How I would love this to be a map.")}} @racketoutput{@literal{'(my-map "How I would love this to be a map.")}}
But @code{my-map} is not the tag we want. We need to define @code{my-map} to be a tag function for @tt{map}. We can do this with the Pollen helper @racket[make-tag-function]. That function lives in @racketmodname[pollen/tag], so we @racket[require] that too: But @code{my-map} is not the tag we want. We need to define @code{my-map} to be a tag function for @tt{map}. We can do this with the Pollen helper @racket[make-tag-function]. That function lives in @racket[pollen/tag], so we @racket[require] that too:
@codeblock|{ @codeblock|{

@ -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 pollen/file sugar/coerce/value)) @(require scribble/eval pollen/render pollen/world (for-label racket (except-in pollen #%module-begin) pollen/world sugar))
@(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/cache pollen/world (for-label racket (except-in pollen #%module-begin) pollen/world pollen/pagetree txexpr pollen/decode pollen/file)) @(require scribble/eval pollen/cache pollen/world (for-label racket (except-in pollen #%module-begin) pollen/world txexpr pollen/decode pollen/file sugar))
@(define my-eval (make-base-eval)) @(define my-eval (make-base-eval))
@(my-eval `(require pollen pollen/pagetree txexpr)) @(my-eval `(require pollen pollen/pagetree txexpr))

@ -78,7 +78,6 @@ If the file extension is ``@(format ".~a" world:markdown-source-ext)'', the sour
@include-section["command.scrbl"] @include-section["command.scrbl"]
@include-section["module-reference.scrbl"] @include-section["module-reference.scrbl"]

@ -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 pollen/render web-server/templates pollen/file)) @(require scribble/eval pollen/render pollen/world (for-label racket (except-in pollen #%module-begin) pollen/world web-server/templates pollen/file sugar))
@(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) txexpr pollen/tag pollen/render xml pollen/pagetree sugar/coerce/value)) @(require scribble/eval pollen/cache pollen/world (for-label racket (except-in pollen #%module-begin) txexpr pollen/tag pollen/render xml pollen/pagetree))
@(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))

@ -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/template pollen/render xml pollen/pagetree sugar/coerce/value)) @(require scribble/eval pollen/cache pollen/world (for-label racket (except-in pollen #%module-begin) pollen/render xml pollen/pagetree sugar))
@(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))

Loading…
Cancel
Save