Fork me on GitHub
#nrepl
<
2018-10-15
>
dominicm05:10:30

@bozhidar the version is in a yml file in the nrepl repo

bozhidar08:10:11

@dominicm I’m puzzled. What’s the purpose of that config file? It seems to duplicate some of the info in the site.yml. I guess assumed that running antora would generate the docs for all non-blacklisted tags (meaning no tags currently) + the master branch.

bozhidar08:10:25

(as I added it to site.yml)

dominicm09:10:52

@bozhidar it's a little confusing in the case you have 1 to 1 mapping. Antora allows you to build multiple repos into one site. One example would be for Asciidoctor, they bundle asciidoctor, asciidoctorJ, asciidoctor.js, etc. into one site. All as part of the Asciidoctor organization. Each of those site "sections" has their own antora.yml, which details information about the component. e.g. version, name, title.

bozhidar09:10:23

Yeah, I got this part, but I thought the config we had in the site.yml pertained to the only component we have. 🙂

bozhidar09:10:17

In general I can how useful this component structure would be if we decide to put in the manual also something about piggieback, drawbridge, cider-nrepl, refactor-nrepl, etc.

dominicm09:10:41

And very cool is how there's a xref system in place for safely referencing across components.

dominicm09:10:48

I want to try and get cljdoc to support the xref: macro, because it would allow for some really neat things like:

Takes a xref:bidi::vhosts.adoc#model[Bidi VHosts Model] and returns a Yada Handler which processes Yada Resources inside.

dominicm09:10:58

Where bidi is just another project on cljdoc.

bozhidar09:10:49

Yeah, that’s pretty cool indeed.