cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
holmdunc 2020-11-15T10:08:33.111900Z

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

👍 1
martinklepsch 2020-11-16T20:11:04.124200Z

Very glad to hear ☺️

Renato Alencar 2020-11-15T13:56:53.116200Z

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 Alencar 2020-11-15T13:59:37.118100Z

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 Alencar 2020-11-15T14:00:14.118600Z

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

lread 2020-11-15T15:52:14.121800Z

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 Alencar 2020-11-15T18:56:35.122400Z

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.

lread 2020-11-15T19:06:35.122600Z

Great! Glad to hear it!

Renato Alencar 2020-11-15T19:08:05.122800Z

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 Alencar 2020-11-15T19:35:25.123300Z

That's the one I'm looking for

Renato Alencar 2020-11-15T19:35:31.123500Z

Thank you

👍 1