(create-candidate {:keys [origin title type] :as element})
creates a candidate based on element
(create-candidate {:origin :ns :ns "code.doc"}) => "ns-code-doc"
creates a candidate based on element (create-candidate {:origin :ns :ns "code.doc"}) => "ns-code-doc"
(create-tag element tags)
(create-tag element tags candidate)
creates a tag based on element and existing tags
(create-tag {:title "hello"} (atom #{"hello" "hello-0" "hello-1" "hello-2"})) => {:title "hello", :tag "hello-3"}
creates a tag based on element and existing tags (create-tag {:title "hello"} (atom #{"hello" "hello-0" "hello-1" "hello-2"})) => {:title "hello", :tag "hello-3"}
(inc-candidate candidate)
creates additional candidates
(inc-candidate "hello") => "hello-0"
(inc-candidate "hello-10") => "hello-11"
creates additional candidates (inc-candidate "hello") => "hello-0" (inc-candidate "hello-10") => "hello-11"
(link-tags {:keys [articles] :as interim} name)
link tags to all elements for a particular article
link tags to all elements for a particular article
(tag-string s)
creates a tag based on string
(tag-string "hello2World/this.Rocks") => "hello2-world--this-rocks"
creates a tag based on string (tag-string "hello2World/this.Rocks") => "hello2-world--this-rocks"
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close