Liking cljdoc? Tell your friends :D

stasis.core


diff-mapsclj

(diff-maps old new)

empty-directory!clj

(empty-directory! f)

export-pageclj

(export-page uri pageish target-dir options)

export-pagesclj

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

fsepclj


fsep-regexclj


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)})
raw docstring

not-foundclj


percent-decodeclj

(percent-decode encoded)
(percent-decode encoded encoding)

Decode every percent-encoded character in the given string using the specified encoding, or UTF-8 by default.

Decode every percent-encoded character in the given string using the
specified encoding, or UTF-8 by default.
raw docstring

report-differencesclj

(report-differences old new)

serve-pagesclj

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

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.
raw docstring

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

× close