6.1.0.5
10.9 World
(require pollen/world) | package: pollen |
A set of global values and parameters that are used throughout the Pollen system. If you don’t like the defaults I’ve picked, change them.
All identifiers are exported with the prefix world:, and are so documented below.
value
parameter
(world:current-server-port port) → void? port : integer?
A parameter that sets the HTTP port for the project server. Initialized to world:default-port, which defaults to 8080.
value
value
The two exports from a compiled Pollen source file. Initialized to 'doc and 'metas, respectively.
value
File implicitly required into every Pollen source file from its directory. Initialized to "project-require.rkt".
parameter
(world:check-project-requires-in-render? check?) → void? check? : boolean?
A parameter that determines whether the world:project-require file is checked for changes on every pass through render. (Can be faster to turn this off if you don’t need it.) Initialized to #t.
value
Name of directory where server support files live. Initialized to "server-extras".
parameter
(world:current-server-extras-path dir) → void? dir : path?
A parameter that reports the path to the directory of support files for the project server. Initialized to #f, but set to a proper value when the server runs.
value
value
value
value
value
value
value
File extensions for Pollen source files, initialized to the following values:
world:preproc-source-ext = pp
world:markup-source-ext = pm
world:markdown-source-ext = pmd
world:null-source-ext = p
world:pagetree-source-ext = ptree
world:template-source-ext = pt
world:scribble-source-ext = scrbl
value
File extensions that are eligible for decoding.
value
value
value
value
value
Mode indicators for the Pollen reader and parser. Initialized to the following values:
world:mode-auto = auto
world:mode-preproc = pre
world:mode-markup = markup
world:mode-markdown = markdown
world:mode-pagetree = ptree
value
Pagetree that Pollen dashboard loads by default in each directory. Initialized to "index.ptree".
value
Name of the root node in a decoded pagetree. It’s ignored by the code, so its only role is to clue you in that you’re looking at something that came out of the pagetree decoder. Initialized to 'pagetree-root.
value
The magic character that indicates a Pollen command, function, or variable. Initialized to #\◊.
Prefix of the default template. Initialized to "template".
Used to generate the name of the fallback template (i.e., the template used to render a Pollen markup file when no other template can be found). Prefix is combined with the output suffix of the source file. Initialized to "fallback".
value
Meta key used to store a template name for that particular source file. Initialized to 'template.
value
value
value
Default separators used in decoding. The first two are initialized to "\n"; the third to "\n\n".
value
CSS file used for the dashboard. Initialized to "poldash.css".
Paths not shown in the Pollen dashboard.