store/[org.clojure-grimoire/lib-grimoire "0.9.3"] clj::grimoire.api.web/make-html-url

Official Documentation

Add notes
Arities
==================================================
   [config thing]

Docstring
==================================================
  λ [Cfg, Thing] → String

  Forges a Grimoire URL for a given Thing.  No validation is done to ensure that
  the target Grimoire instance _has_ the Thing in question.

Source

(defn make-html-url
  "λ [Cfg, Thing] → String

  Forges a Grimoire URL for a given Thing.  No validation is done to ensure that
  the target Grimoire instance _has_ the Thing in question."
  [config thing]
  {:pre [(Config? config)
         (or (t/thing? thing)
             (nil? thing))]}
  (str (:host config)
       store-base-str
       (when thing (t/thing->url-path thing))))

Uses on crossclj