Fork me on GitHub
#cljdoc
<
2018-08-12
>
bbrinck21:08:18

I’d like to run cljdoc locally so I can preview my documentation changes. I found these instructions: https://github.com/cljdoc/cljdoc/blob/master/doc/running-cljdoc-locally.md

bbrinck21:08:23

When I do the following command: ./script/cljdoc ingest -g /Users/ben/code/clojure/expound -p expound/expound -v 0.7.2-SNAPSHOT --jar ~/.m2/repository/expound/expound/0.7.2-SNAPSHOT/expound-0.7.2-SNAPSHOT.jar --pom ~/.m2/repository/expound/expound/0.7.2-SNAPSHOT/expound-0.7.2-SNAPSHOT.pom --rev clj-doc I get the error:

Error building classpath. /var/folders/gm/p9fh4d3n5m11nnyjrsry1cm80000gq/T/cljdoc-expound-expound-0.7.2-SNAPSHOT6141675865145266918/impl-src is not a relative path
java.lang.IllegalArgumentException: /var/folders/gm/p9fh4d3n5m11nnyjrsry1cm80000gq/T/cljdoc-expound-expound-0.7.2-SNAPSHOT6141675865145266918/impl-src is not a relative path

bbrinck21:08:57

I’m sure I’m doing something wrong here. My intent is to commit my doc changes to my project in a local branch, then do lein install to generate the jar/pom

bbrinck21:08:55

(I’ve confirmed the git dir, pom file, and jar file all exist)

bbrinck21:08:07

(this is on cljdoc commit 19ad8f36d3d6685c3fab09bb01c9bda50db43827)