Fork me on GitHub

Big thanks for making it possible for the mac app Dash to search for and download cljdoc Docsets. It's really well executed!

👍 3

Very glad to hear ☺️

Renato Alencar13:11:53

Hi everyone. I'm running cljdoc locally, trying to explore the project, I managed to run the project and even run some modifications. But I couldn't run a nREPL and connect cider to it. I've being able to actually connect, but when I run system/-main on modules/cli/src/cljdoc/cli.clj it gives me the following error.

Renato Alencar13:11:37

Could not locate cli_matic/core__init.class, cli_matic/core.clj or cli_matic/core.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.

Renato Alencar14:11:14

This happens when I try to evaluate the buffer using C-c C-k.


Hey @renatoalencar.73 by default cljdoc runs as a server not a command line tool, so you’ll need to include they cli deps.edn alias. Here’s what I have in my cljdoc .dir-locals.el :

((clojure-mode . ((cider-clojure-cli-global-options . "-R:cli -C:cli"))))
Not sure the last time I ran this… might need to verify against new clojure cli syntax.

Renato Alencar18:11:35

Thank you so much, now I understand whats happening. On the cljdoc.server.system namespace there's a comment form with some forms to set everything up. From there, everything works fine.


Great! Glad to hear it!

Renato Alencar19:11:05

I'm trying to find where the C-k keystroke is set up. Do you know where this is? I couldn't find nothing on the JS files.

Renato Alencar19:11:25

That's the one I'm looking for

Renato Alencar19:11:31

Thank you

👍 3