File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,10 +6,16 @@ A Clojure library for accessing Javadocs in your REPL
66
77### deps.edn
88
9+ As a Maven dep:
10+
11+ ``` clojure
12+ {:deps {io.github.clojure/java.doc {:mvn/version " 0.1.6" }}}
13+ ```
14+
15+ As a git dep:
16+
917``` clojure
10- {:deps {org.clojure/java.doc {:git/url " https://github.com/clojure/java.doc"
11- :git/tag " v0.1.5"
12- :git/sha " 11f6dfb" }}}
18+ {:deps {io.github.clojure/java.doc {:git/tag " v0.1.6" :git/sha " 1400bf7" }}}
1319```
1420
1521### In the REPL with add-libs
@@ -20,7 +26,7 @@ For usage without modifying your project deps:
2026; ; This require is only necessary if not in user namespace
2127(require '[clojure.repl.deps :refer [add-lib]])
2228
23- (add-lib 'io.github.clojure/java.doc {:git/tag " v0 .1.5 " :git/sha " 11f6dfb " })
29+ (add-lib 'io.github.clojure/java.doc {:mvn/version " 0 .1.6 " })
2430
2531(require '[clojure.java.doc.api :refer [jdoc jdoc-data sigs]])
2632
@@ -33,7 +39,7 @@ For usage without modifying your project deps:
3339Invoke directly from the command line, useful for piping into a .md file to display in your editor:
3440
3541``` bash
36- clojure -Sdeps ' {:deps {org.clojure/java.doc {:git/url "https:// github.com/ clojure/java.doc" :git/tag "v0 .1.5" :git/sha "11f6dfb "}}}' \
42+ clojure -Sdeps ' {:deps {io. github.clojure/java.doc {:mvn/version "0 .1.6 "}}}' \
3743 -M -e " (require '[clojure.java.doc.api :refer [jdoc]]) (jdoc String)"
3844```
3945
You can’t perform that action at this time.
0 commit comments