(link-namespaces {:keys [namespaces articles] :as folio} name)
link elements with :ns
forms to code
(link-namespaces {:articles {"example" {:elements [{:type :ns :ns "clojure.core"}]}} :namespaces {"clojure.core" {:code "(ns clojure.core)"}}} "example") => {:articles {"example" {:elements [{:type :code :ns "clojure.core" :origin :ns :indentation 0 :code "(ns clojure.core)"}]}} :namespaces {"clojure.core" {:code "(ns clojure.core)"}}}
link elements with `:ns` forms to code (link-namespaces {:articles {"example" {:elements [{:type :ns :ns "clojure.core"}]}} :namespaces {"clojure.core" {:code "(ns clojure.core)"}}} "example") => {:articles {"example" {:elements [{:type :code :ns "clojure.core" :origin :ns :indentation 0 :code "(ns clojure.core)"}]}} :namespaces {"clojure.core" {:code "(ns clojure.core)"}}}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close