This library looks great, and I'm eager to try it out in one of my new projects, which uses *[midje "1.5.1"]* (and my *profile.clj* is below). But, in a new project, I just ran `*lein midje-doc*`, and I'm getting a RuntimeException in one of the 3rd party libraries. I've attached a log file with the stacktrace. Any ideas on overcoming this?
*java.lang.RuntimeException: No such var: seq/map-nth,
compiling:(me/raynes/conch.clj:196:12)*
* at clojure.lang.Compiler.analyze(Compiler.java:6380)*
* at clojure.lang.Compiler.analyze(Compiler.java:6322)*
* at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3573)*
* at clojure.lang.Compiler.analyzeSeq(Compiler.java:6562)*
* at clojure.lang.Compiler.analyze(Compiler.java:6361)*
* at clojure.lang.Compiler.analyze(Compiler.java:6322)*
* at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3624)*
* at clojure.lang.Compiler.analyzeSeq(Compiler.java:6562)*
* at clojure.lang.Compiler.analyze(Compiler.java:6361)*
* ...*
* at clojure.core$load_libs.doInvoke(core.clj:5413)*
* at clojure.lang.RestFn.applyTo(RestFn.java:137)*
* at clojure.core$apply.invoke(core.clj:619)*
* at clojure.core$require.doInvoke(core.clj:5496)*
* at clojure.lang.RestFn.invoke(RestFn.java:436)*
* at
leiningen.midje_doc.renderer$eval19$loading__4910__auto____20.invoke(renderer.clj:1)
*
* at leiningen.midje_doc.renderer$eval19.invoke(renderer.clj:1)*
* at clojure.lang.Compiler.eval(Compiler.java:6619)*
* ...*
*fig.1 *
*~/.lein/profile.clj*
*
*
{:user
{:plugins [
[lein-marginalia "0.7.1"]
[lein-midje "3.1.1"]
[lein-midje-doc "0.0.13"]]
:dependencies []
:repl-options {}}}
*fig.2 *
Tim Washington
Interruptsoftware.ca / Bkeeping.com
On Mon, Sep 23, 2013 at 3:05 AM, zcaudate <[email protected]> wrote:
> Ooops! Really sorry guys. the resource directory was not included in the
> v0.0.9 jar file... it is now fixed in v0.0.10.
>
> lein-midje-doc
>
> lein-midje-doc fixes the problem of incorrectly documented examples by
> bridging the gap between writing tests and writing documentation.
> <https://github.com/zcaudate/lein-midje-doc#features>Features:
>
> 1. To generate .html documentation from a .clj test file.
> 2. To express documentation elements as clojure datastructures.
> 3. To render clojure code and midje facts as code examples.
> 4. To allow tagging of elements for numbering and linking.
>
> <https://github.com/zcaudate/lein-midje-doc#benefits>Benefits:
>
> 1. All documentation errors can be eliminated.
> 2. Removes the need to cut and copy test examples into a readme file.
> 3. Entire test suites can potentially be turned into nice looking
> documentation with relatively little work.
>
>
>
> On Monday, September 23, 2013 2:22:08 PM UTC+10, zcaudate wrote:
>>
>> Hi Everyone.
>>
>> I've just pushed a new documentation library for midje tests to clojars.
>> Its very experimental and a bit of a hack but I'm finding it super useful.
>> Hope to get some feedback on this library.
>>
>> Github Page -
>> https://github.com/zcaudate/**lein-midje-doc<https://github.com/zcaudate/lein-midje-doc>
>>
>> Generated Documentation -
>> http://z.caudate.me/lein-**midje-doc/<http://z.caudate.me/lein-midje-doc/>
>>
>>
>> Chris
>>
>
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
midje-doc.out
Description: Binary data
