Liking cljdoc? Tell your friends :D

pottery.scan


default-extractorclj

source

extractclj

(extract extract-fn expr)

Extracts strings from either (tr i18n ["Hello!" arg]) or (tr ["Hello!" arg]) or

and the plural forms;

(trn i18n ["One item" "%1 items"] n) or (trn ["One item" "%1 items"] n)

Extracts strings from either
  `(tr i18n ["Hello!" arg])` or
  `(tr ["Hello!" arg])` or

and the plural forms;

  `(trn i18n ["One item" "%1 items"] n)` or
  `(trn ["One item" "%1 items"] n)`
sourceraw docstring

extraction-warningclj

(extraction-warning msg)
source

find-tr-stringsclj

source

make-extractorcljmacro

(make-extractor & match-patterns)
source

scan-filesclj

(scan-files {:keys [dir extract-fn]})

Walk the given directory and for every clj, cljc or cljs file extract the strings for which the extractor returns a value.

Walk the given directory and for every clj, cljc or cljs file
extract the strings for which the extractor returns a value. 
sourceraw docstring

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

× close