namechange

pull/9/head
Matthew Butterick 11 years ago
parent 7dc3ba800b
commit e9b7b40c02

@ -4,7 +4,7 @@
(define/contract+provide (get-project-require-files source-path) ; keep contract local to ensure coercion (define/contract+provide (get-project-require-files source-path) ; keep contract local to ensure coercion
(coerce/path? . -> . (or/c #f (listof path?))) (coerce/path? . -> . (or/c #f (listof path?)))
(define possible-requires (list (simplify-path (build-path source-path 'up world:pollen-require)))) (define possible-requires (list (simplify-path (build-path source-path 'up world:project-require))))
(and (andmap file-exists? possible-requires) possible-requires)) (and (andmap file-exists? possible-requires) possible-requires))

@ -19,12 +19,12 @@ All identifiers are exported with the prefix @racket[world:], and are so documen
)] )]
The two exports from a compiled Pollen source file. The two exports from a compiled Pollen source file.
@(defthing world:pollen-require string? #:value "pollen-require.rkt") @(defthing world:project-require string? #:value "project-require.rkt")
File implicitly required into every Pollen source file from its directory. File implicitly required into every Pollen source file from its directory.
@defparam[world:check-project-requires-in-render? check? boolean? @defparam[world:check-project-requires-in-render? check? boolean?
#:value #t]{ #:value #t]{
A parameter that determines whether the @racket[world:pollen-require] file is checked for changes on every pass through @racket[render]. (Can be faster to turn this off if you don't need it.) Initialized to @racket[#t].} A parameter that determines whether the @racket[world:project-require] file is checked for changes on every pass through @racket[render]. (Can be faster to turn this off if you don't need it.) Initialized to @racket[#t].}
@defthing[world:server-extras-dir dir string? #:value "server-extras"] @defthing[world:server-extras-dir dir string? #:value "server-extras"]
Name of directory where server support files live. Name of directory where server support files live.

@ -33,7 +33,7 @@
(define main-pollen-export 'doc) ; don't forget to change fallback template too (define main-pollen-export 'doc) ; don't forget to change fallback template too
(define meta-pollen-export 'metas) (define meta-pollen-export 'metas)
(define pollen-require "pollen-require.rkt") (define project-require "project-require.rkt")
(define newline "\n") (define newline "\n")
(define linebreak-separator newline) (define linebreak-separator newline)

Loading…
Cancel
Save