lein-midje-doc fixes the problem of incorrectly documented examples by bridging the gap between writing tests and writing documentation.
.html documentation from a .clj test file.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)...
~/.lein/profile.clj{:user{:plugins [[lein-marginalia "0.7.1"][lein-midje "3.1.1"][lein-midje-doc "0.0.13"]]:dependencies []:repl-options {}}}
That is a strange message. I am using conch to shell out to pygments which does the syntax highlighting. I'm not sure why that library is not compiling. What operating system are you using?
Also.. What version of clojure are you using? I'll try with that and see if I can reproduce the error.
--
--
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/hiX7QrTec3A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
I've lodged the issue with Raynes here:
https://github.com/Raynes/conch/issues/7
Chris.