cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
martinklepsch 2021-03-18T09:54:26.013Z

@adam678 yeah, I was afraid you’d say that you’re using deps 😄 unfortunately in this case you’ll need to manually tweak your pom.xml to add the scope fields

Helins 2021-03-18T10:00:21.013200Z

Hehe, fair enough. I'll try later and come back crying if needed. Have a nice day!

martinklepsch 2021-03-18T10:04:47.013400Z

sounds good! You too 🙂

Helins 2021-03-18T14:01:09.017800Z

What is the current idiomatic way of updating docs? Does it still involve a new release or did something happened after: https://github.com/cljdoc/cljdoc/issues/31

lread 2021-03-19T14:34:44.023200Z

Oh absolutely not @seancorfield, you are always so courteous, kind, generous and respectful! You set a great example for the Clojure community. FWIW, it is hard to read tone in text, but my intended tone is always free of any huff. :simple_smile: Yeah, I was chatting with someone about using .commits count. I too feel it makes releases feel less precious. He did not see it that way, but for me it works.

😊 1
martinklepsch 2021-03-18T16:31:45.018100Z

new release still required

seancorfield 2021-03-18T16:32:47.018300Z

I guess you could always move the release tag on the repo to include the doc changes, and then ask http://cljdoc.org to re-analyze the release?

seancorfield 2021-03-18T16:33:03.018500Z

(assuming your pom.xml in the library has a tag, not a SHA)

martinklepsch 2021-03-18T16:33:17.018700Z

oh true, that could work

seancorfield 2021-03-18T16:33:20.018900Z

@martinklepsch Is that where http://cljdoc.org reads the SCM info?

✔️ 1
seancorfield 2021-03-18T16:35:16.019200Z

Yeah, I had to do it recently with HoneySQL: I screwed up the release tag (put it on the wrong branch) and only noticed after http://cljdoc.org generated the docs — so I moved the tag to the correct place and clicked the “invisible” button on http://cljdoc.org to re-analyze and it seemed to work. The JAR I had deployed to Clojars was correct, and the pom.xml had the right <tag> entry: v2.0.0-alpha3 — it was just in the wrong place in Git.

martinklepsch 2021-03-18T16:53:58.019400Z

That’s good too know @seancorfield, thanks for sharing!

lread 2021-03-18T22:46:46.019600Z

Everyone is different, but personally I’m cool with just cutting another release even if only docs need updating.

Helins 2021-03-18T23:00:24.019800Z

Technically correct (the best kind of correct) I guess slightly moving a tag is less controversial than rebasing the main branch 😛

Alys Brooks 2021-03-18T23:08:09.020100Z

Documentation is a feature, imo, so I generally agree with @lee. Although, if there's an embarassing typo, it's kind of nice to be able to silently fix it.

seancorfield 2021-03-18T23:16:01.020300Z

I think it’s “OK” to make a branch from your original release tag and make doc fixes on that branch and just move the tag (as long as you’re only changing documentation).

seancorfield 2021-03-18T23:16:59.020500Z

But to each their own. At least http://cljdoc.org allows some way to redo the docs for a given tag…