Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1 KB

README.md

File metadata and controls

30 lines (19 loc) · 1 KB

nrepl-doc-inject

CircleCI PR welcome

My stab at improving Clojure docstrings. NREPL middleware to load community docstrings and inject them.

How to use

  • Clone this and lein install it (not on clojars yet)
  • Add dependency to project dev or user profile [nrepl-doc-inject "0.1-SNAPSHOT"]
  • Add middleware to :repl-options / :nrepl-middleware
(defproject your-project "version"
  ;; deps etc
  :profiles {:dev {:dependencies [[nrepl-doc-inject "0.1-SNAPSHOT"]]}}
  :repl-options {:nrepl-middleware [nrepl-doc-inject.core/doc-middleware]})

use in cider

How to contribute

All namespace vars are in the same file under docs folder with the .edn suffix.

Add new documentation for functions or totally new namespaces.

Send PRs.