cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
teodorlu 2019-09-11T14:31:46.052900Z

Hello! Newbie question #1. I'm updating my Git-repo and pushing new SNAPSHOT-releases to clojars, but my docs aren't updating. Can I tell cljdoc to regenerate docs based on master and latest SNAPSHOT in Clojars? Project: https://cljdoc.org/d/org.clojars.teodorlu/duct-unofficial-docs/0.2.2-SNAPSHOT/api/duct-unofficial-docs.core

teodorlu 2019-09-11T14:33:41.055700Z

Newbie question #2. I'm trying to bring in namespace docs from dependencies (duct/core and metosin/reitit), but I don't get any docs for namespaces from foregin artefacts (project link above). Any suggestions welcome!

teodorlu 2019-09-11T14:34:10.056800Z

And thanks for a great project! I really think cljdoc will be valuable to the Clojure ecosystem long term.

martinklepsch 2019-09-11T14:34:11.056900Z

@teodorlu SNAPSHOT versions aren’t built automatically, you can initiate a rebuild that will (potentially—subject to caching) use an updated SNAPSHOT. To do so find the hidden rebuild button left of the GitHub link in the top right corner and click it 🙂

teodorlu 2019-09-11T14:34:40.057300Z

Ooh, I'll have a look

teodorlu 2019-09-11T14:36:12.058200Z

Found the button 😄

teodorlu 2019-09-11T14:37:16.059400Z

Rebuild worked perfectly, thanks!

martinklepsch 2019-09-11T14:43:39.060100Z

As for #2 I’m not completely sure why that isn’t working, I think what you’re doing looks right

martinklepsch 2019-09-11T14:44:29.061600Z

Found this in the relevant code but that shouldn’t affect the basics I think > Note: When rendering namespaces we ultimately need some information about the backing Git repository to create proper source links. For now this is only supported if the modules included via dependency-version-entitiesare backed by the same Git repository as the primary artifact.

teodorlu 2019-09-11T14:44:33.061700Z

Thanks for having a look. Pushed to Clojars for the first time today, so it's probably something on my part.

martinklepsch 2019-09-11T14:45:28.062300Z

Cool, keep me posted and feel free to open an issue if the problem persists.

martinklepsch 2019-09-11T14:45:57.063400Z

If you want to play around with cljdoc locally, there’s some documentation on that: https://github.com/cljdoc/cljdoc/blob/master/doc/running-cljdoc-locally.md

teodorlu 2019-09-11T14:45:58.063500Z

Thanks for the help! And for the pointer for the other question.

martinklepsch 2019-09-11T14:46:19.064100Z

No problem 🙂

2019-09-11T22:02:56.065Z

If my library is there: https://cljdoc.org/d/com.turtlequeue/clj-client/0.0.7 should I be able to get a badge? https://cljdoc.org/badge/com.turtlequeue/clj-client/0.0.7 Also I noticed it does not appear in the search EDIT: commented there about the search https://github.com/cljdoc/cljdoc/issues/308#issuecomment-530584697