Liking cljdoc? Tell your friends :D

stasis.core


diff-mapsclj

(diff-maps old new)
source

empty-directory!clj

(empty-directory! f)
source

export-pageclj

(export-page uri pageish target-dir options)
source

export-pagesclj

(export-pages pages target-dir & [options])
source

fsepclj

source

fsep-regexclj

source

merge-page-sourcesclj

(merge-page-sources sources)

Merges collections of pages ensuring every path only occurs once across all collections.

Takes a map of collection name to page collection, and returns a map of path to content. The collection names are only used for error reporting.

For example,

(merge-page-sources
 {:person-pages (create-person-pages)
  :article-pages (create-article-pages)
  :general-pages (create-general-pages)})
Merges collections of pages ensuring every path only occurs once across all
collections.

Takes a map of collection name to page collection, and returns a map of path
to content. The collection names are only used for error reporting.

For example,

    (merge-page-sources
     {:person-pages (create-person-pages)
      :article-pages (create-article-pages)
      :general-pages (create-general-pages)})
sourceraw docstring

not-foundclj

source

report-differencesclj

(report-differences old new)
source

serve-pagesclj

(serve-pages get-pages & [options])
source

slurp-directoryclj

(slurp-directory dir regexp & opts)

Returns a map of paths to file contents in the dir. dir should be accessible via clojure.java.io/as-file. regexp will be used to filter the files. opts are passed to slurp to enable specification of encoding and buffer-size etc.

Returns a map of paths to file contents in the `dir`. `dir` should be
accessible via `clojure.java.io/as-file`. `regexp` will be used to filter the
files. `opts` are passed to `slurp` to enable specification of encoding and
buffer-size etc.
sourceraw docstring

slurp-resourcesclj

(slurp-resources dir regexp & opts)

Returns a map of paths to file contents in the dir found on the resource path. regexp will be used to filter the files. opts are passed to slurp to enable specification of encoding and buffer-size etc.

Returns a map of paths to file contents in the `dir` found on the resource
path. `regexp` will be used to filter the files. `opts` are passed to `slurp`
to enable specification of encoding and buffer-size etc.
sourceraw docstring

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

× close