cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
bbrinck 2018-12-15T03:11:52.066500Z

I’m trying to republish docs for a SNAPSHOT build. I’ve clicked the hidden “rebuild” button, but from looking at the logs for circleci job, it looks like it’s still downloading an older version of the snapshot jar

bbrinck 2018-12-15T03:13:50.068600Z

Is using the “rebuild” for snapshot the best way to check my doc changes? I’d like to confirm the docs look good before my next release to avoid needing to do another release just to fix docs

bbrinck 2018-12-15T03:15:22.069600Z

For context, I’ve published expound-0.7.2-20181215.030535-8.jar to clojars, but this job (https://circleci.com/gh/martinklepsch/cljdoc-builder/8355) seems to indicate cljdoc is downloading expound-0.7.2-20181210.031342-7.jar

bbrinck 2018-12-15T03:15:42.070200Z

I may be misunderstanding how SNAPSHOT builds work

martinklepsch 2018-12-15T08:08:35.073700Z

Sometimes it takes a while for a new snapshot to be picked up. I’m not entirely sure why this is but I guess it’s either the Clojars CDN or CircleCI already having the previous SNAPSHOT in a cache somewhere (SNAPSHOTS are usually refreshed once in 24hrs)

martinklepsch 2018-12-15T08:09:56.074800Z

For now the recommended way to verify your changes will look as expected is to run cljdoc locally: https://github.com/cljdoc/cljdoc/blob/master/doc/running-cljdoc-locally.md

martinklepsch 2018-12-15T08:11:15.076500Z

This is a bit more involved and there is an issue about making this easier but it’ll take time to get there

danielcompton 2018-12-17T04:30:58.079400Z

It'll be the CircleCI Maven cache that is caching snapshot checking

martinklepsch 2018-12-17T22:10:53.079600Z

@bbrinck did it work out?

bbrinck 2018-12-18T00:35:56.081900Z

I can’t run it locally right now since my hard drive suddenly died late last night. I will try a rebuild via website when I get home - enough time has passed that the newer snapshot may be available on circle. Thanks for your help!

bbrinck 2018-12-19T01:17:51.084200Z

Success!

martinklepsch 2018-12-19T09:57:07.084900Z

🙌 🎉

Avichal 2018-12-15T21:50:45.079300Z

Hello, I have added an ADR for the caching system that stores data from multiple data sources to make it available for rendering docs: https://github.com/cljdoc/cljdoc/pull/239/commits/94d42d8962fb1367786ba44ff0f645d3f293e0ae Please feel free to share your thoughts 🙂

❤️ 1
🦜 1