this was a big one
Marginalia is an ultra-lightweight literate programming tool for Clojure inspired by docco*.
To get a quick look at what the output looks like, visit the official Marginalia website.
Usage notes and examples are found on the Marginalia Github page.
Version 0.7.0 is an attempt to move toward Marginalia as library
only. Therefore, the Leiningen support has been pulled out and placed
into its own plugin named lein-marginalia. To
use Marginalia to generate documentation for your own projects you
should no longer reference Marginalia in your project.clj
.
Instead, use lein-marginalia in your :dev-dependencies
section like so:
:dev-dependencies [[lein-marginalia "0.7.0"]]
Leiningen will pull in the proper Marginalia version. We will attempt to keep the version numbers in sync.
Marginalia will now discover and parse ClojureScript files.
Clojure 1.3 allows docstrings in def
forms that look
like:
(def a-var "The docstring" value)
Marginalia will recognize this pattern and generate the associate documentation.
Marginalia will accept wildcard arguments in place of absolute source paths. For example, to generate docs for all source files with an ‘r’ in the name, you could type:
lein marg src/**/*r*.clj
You can pass any number of arguments to the marg
task.
project.clj
requirement^:private support
:requires
bugThe following capabilities are under design, development, or consideration for future versions of Marginalia:
More planning is needed around capabilities not listed nor thought of.
:F