cljdoc

Jakub Holý (HolyJak) 2023-08-07T13:57:59.186929Z

Hi! How do I get the analyzer to respect my :cljdoc/languages , when running https://github.com/holyjak/fulcro-rad-asami? Currently it tells me > 2023-08-07 15:56:00,788 INFO cljdoc-analyzer.runner - launching metagetta for: /Users/me/Projects/fulcro-rad-asami languages: :auto-detect even though I have this

$ cat doc/cljdoc.edn
{:cljdoc/languages ["clj"]}
The way I run it is as a clj tool (using the latest version):
clojure -Tcljdoc analyze-local
Thank you!!!

✅ 1
Jakub Holý (HolyJak) 2023-08-07T14:23:27.536109Z

It works using the recommended docker approach. Not sure if the problem went away or is in the analyzer as tool

lread 2023-08-07T15:16:11.418049Z

Hmmm.... I think you would have to pass in the language as an option to cljdoc analyzer? No?

lread 2023-08-07T15:19:00.727939Z

I'd have to verify, but I don't think the cljdoc-analyzer looks at cljdoc.edn... I think cljdoc parses cljdoc.edn and passes any relevant options to to the analyzer...

lread 2023-08-07T15:22:41.699389Z

Actually... what command are you using? There are 3 different command lines for cljdoc-analyzer, and then there is also cljdoc's ingest. I think cljdoc ingest should work because it does that same work of a full doc build (not just API analysis).

Jakub Holý (HolyJak) 2023-08-07T15:24:22.155629Z

That makes sense! I should have thought more 😅 I run the command you see in my original post

lread 2023-08-07T15:25:51.438469Z

I don't think clojure -Tcljdoc analyze-local one would look at cljdoc.edn ... but I'd have to double check.

lread 2023-08-07T15:26:56.856079Z

So the docker approach uses cljdoc ingest... so if I understand... you are now using that and are having success.

Jakub Holý (HolyJak) 2023-08-07T15:29:09.402419Z

Yes

lread 2023-08-07T16:10:58.680309Z

Ok, glad you are sorted out