Liking cljdoc? Tell your friends :D

nuzzle.pages


create-get-pagesclj

(create-get-pages pages)

Create the helper function get-pages from the transformed pages. This function takes a pages key and returns the corresponding value with added key :nuzzle/get-pages with value get-pages function attached.

Create the helper function get-pages from the transformed pages. This
function takes a pages key and returns the corresponding value with added
key :nuzzle/get-pages with value get-pages function attached.
raw docstring

create-stasis-pagesclj

(create-stasis-pages pages)

Creates a map where the keys are relative URLs and the values are a string of HTML or a function that produces a string of HTML. This datastructure is defined by stasis.

Creates a map where the keys are relative URLs and the values are a string
of HTML or a function that produces a string of HTML. This datastructure is
defined by stasis.
raw docstring

load-pagesclj

(load-pages pages & {:keys [remove-drafts?]})

Load a pages var or map and validate it.

Load a pages var or map and validate it.
raw docstring

remove-draft-pagesclj

(remove-draft-pages pages)

transform-pagesclj

(transform-pages pages)

Creates fully transformed pages with or without drafts.

Creates fully transformed pages with or without drafts.
raw docstring

validate-pagesclj

(validate-pages pages)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close