cljdoc

https://cljdoc.org/ & https://github.com/cljdoc/cljdoc
borkdude 2019-12-12T11:20:06.099600Z

build failure for sci: https://cljdoc.org/builds/23234

borkdude 2019-12-12T11:20:27.099900Z

maybe because I have some html files in my doc folder?

borkdude 2019-12-12T11:20:32.100100Z

I generated those using codox

borkdude 2019-12-12T11:21:48.100400Z

that multimethod should probably have a default value instead of failing

martinklepsch 2019-12-12T11:42:45.101100Z

@borkdude html is not a supported file format in doctrees https://github.com/borkdude/sci/blob/master/doc/cljdoc.edn

borkdude 2019-12-12T11:43:30.101400Z

I just want to make a link in the side menu 😕

borkdude 2019-12-12T11:43:47.101600Z

I'll remove it then

borkdude 2019-12-12T11:46:19.102Z

@martinklepsch I don't understand why the page says missing scm info. I think I filled it in in project.clj

borkdude 2019-12-12T11:46:34.102400Z

link: https://cljdoc.org/d/borkdude/sci/0.0.12-alpha.2

martinklepsch 2019-12-12T11:47:16.103Z

> I just want to make a link in the side menu What's in that HTML file that you can't put into a Markdown file?

borkdude 2019-12-12T11:47:31.103500Z

codox-generated files

borkdude 2019-12-12T11:48:11.104200Z

why? so http://borkdude.github.io/sci also works

martinklepsch 2019-12-12T11:49:14.105300Z

HTML doesn't allow cljdoc to provide a uniform documentation viewing experience. That has downsides and upsides but cljdoc has always taken a stance on the side of consumers in terms of providing a streamlined reading/viewing experience

borkdude 2019-12-12T11:50:24.106500Z

makes sense, I've already accepted that. moving on. I still don't understand why the page says missing scm info 🙂

martinklepsch 2019-12-12T11:50:29.106700Z

Not sure I understand how cljdoc configuration is related to making the http://github.io page work

borkdude 2019-12-12T11:51:02.107500Z

well, my assumption was that making a link in the cljdoc menu would just point to the static file and be done with it

martinklepsch 2019-12-12T11:51:17.108Z

I think that might solely due to the fact that the build failed, here's a build that worked and SCM info is shown properly: https://cljdoc.org/d/borkdude/sci/0.0.11-alpha.14/doc/readme

martinklepsch 2019-12-12T11:51:44.108700Z

I'm sorry to dissappoint your assumption here 🙃

borkdude 2019-12-12T11:51:46.108800Z

alrighty, I've re-triggered the build now

borkdude 2019-12-12T11:52:13.109500Z

no biggie, have a nice day 🙂

martinklepsch 2019-12-12T11:52:19.109700Z

you too 🙂

martinklepsch 2019-12-12T11:52:54.110400Z

Oh and generally I'd be curious why the http://github.io page is important to you, as in what does it get you that cljdoc doesn't already provide?

borkdude 2019-12-12T11:53:17.110700Z

javadocs

borkdude 2019-12-12T11:53:31.110900Z

https://borkdude.github.io/sci/doc/javadoc/

martinklepsch 2019-12-12T11:54:49.111800Z

Ah I see, well that makes sense then 🙂 I guess my recommendation would be adding a page to the doc tree "Java API" that then links to that page

borkdude 2019-12-12T11:55:26.112800Z

ehm, that's exactly the thing you just said that didn't work?

martinklepsch 2019-12-12T11:56:57.114500Z

I mean doc/java-api.md with some basic information on the Java API and a link to the generated javadocs. This way you keep all info in one place, the java API docs are easy to find and you can still use cljdoc as primary documentation hub with it's API docs for Clojure (in contrast to the github pages where you would have to manually publish Clojure API docs)

borkdude 2019-12-12T11:57:34.114800Z

I already have a description of those java docs directly in the README.md

borkdude 2019-12-12T11:57:55.115300Z

making an indirection .md file feels like a workaround (but definitely a possible workaround)

martinklepsch 2019-12-12T11:58:57.116100Z

Yeah I mean you can also obviously just link to the Java docs from that section (as you already do) but IME adding more stuff to the sidebar helps discoverability of docs a lot

martinklepsch 2019-12-12T11:59:06.116400Z

but yeah "depends" 🙂