Fork me on GitHub
#cljdoc
<
2021-10-16
>
RollACaster10:10:19

After re-reading my issue, I am guilty of some solutineering here šŸ™ˆšŸ˜¬ I added some thoughts to https://github.com/cljdoc/cljdoc/issues/478. As mentioned there, I am not planning to work on the issue for now. Mostly because I am too eager to explore potential features regarding https://github.com/cljdoc/cljdoc/issues/336 šŸ˜‰

šŸ‘ 1
martinklepsch14:10:03

I think Iā€™m totally responsible for even talking about the iFrame stuff šŸ˜„ I hadnā€™t really considered that there could be security issues but I also completely agree that it makes sense to wait for some user feedback on the :url change first :)

lread16:10:26

I think it is wonderful that we can bounce ideas off each other in a friendly place of learning. I look forward to your gentle feedback on my next idea!

dorab17:10:13

Hi. cljdoc-newbie. I just tried to build the docs for cryogen/lein-template, which failed. The build id is 40614. The error is "Could not locate leiningen/new/templates__init.class, leiningen/new/templates.clj or leiningen/new/templates.cljc on classpath.". FWIW, the docs (README) seems to have been built correctly, but the API docs has a note saying "https://cljdoc.org/builds/49664". Since this project is a template, there is no API as such. I'd like to know if there is anything I need to fix on the lein-template side. Thanks.

lread17:10:56

@dorab welcome to cljdoc!

lread17:10:49

Sooā€¦. even though you donā€™t have an API, cljdoc currently assumes all projects do, and is analyzing your source code to find it so it can summarize it.

lread17:10:21

Iā€™m not a lein guy, so not sure why cljdoc is failing to parse your sources. Butā€¦ I expect you really would like to say, ā€œhey cljdoc, donā€™t bother trying to parse my sources because I have no APIā€.

dorab17:10:04

Correct. That would be best. Is there a current way to say that?

lread17:10:38

@dorab, no yet, no. But it seems like a reasonable feature to add.

lread18:10:00

@dorab, we seem to already have an https://github.com/cljdoc/cljdoc/issues/474. Iā€™ll add your use case as a note.

šŸ™ 1
martinklepsch18:10:36

The reason analysis fails is probably that leiningen uses template files where the namespace doesnā€™t match the classpath location

lread22:10:18

Ah good to know, tx.