We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0bda7b commit bc2b580Copy full SHA for bc2b580
src/orchard/clojuredocs.clj
@@ -98,10 +98,12 @@
98
"Resolve `sym` in the context of `ns` and look up the documentation
99
for the resulting var."
100
{:added "0.5.0"}
101
- [ns sym]
102
- (if (special-symbol? sym)
103
- (find-doc "clojure.core" (str sym))
104
- (-> (ns-resolve ns sym) var-name get-doc)))
+ ([ns sym]
+ (resolve-and-find-doc ns sym default-edn-file-url))
+ ([ns sym export-edn-url]
+ (if (special-symbol? sym)
105
+ (find-doc "clojure.core" (str sym) export-edn-url)
106
+ (-> (ns-resolve ns sym) var-name get-doc))))
107
108
(defn- kw-to-sym [kw]
109
(symbol (subs (str kw) 1)))
0 commit comments