Hey everyone! Since the last update a lot of work got done to make this available to the wider community.
That said I also resumed doing "actual work" and so I barely had any time over the last weeks. What follows below is an update on what has happened since the last update and a call for help 🙂
As before we can build documentation for any* library from within this repo using:
boot build-docs --project bidi --version 2.1.3 target
While this is great the real deal of this project is removing that step and making the process of publishing documentation for Clojure libraries as easy as possible. So since the last update I implemented a documentation build-server that roughly works like this:
Using CircleCI is a great little hack that allows us to ignore all the problems around running untrusted code for now.
The API call is a simple curl
invocation with three params (project, version, jar URL). Details of that can be found in script/cljdoc
.
script/cljdoc build bidi 2.1.3 # => https://cljdoc.xyz/d/bidi/bidi/2.1.3/
# => https://cljdoc.xyz/d/$group/$project/$version/
I'm incredibly excited about this being fully automated and providing the community with a platform for improving documentation tooling on a ecosystem-reaching scale.
Imagine we could deploy functionality to support dynadoc-style interactive examples, clojure.spec lookup, and more for the entire Clojure/Script ecosystem.
* "any" is me being optimistic — if you find libs that don't work please open an issue.
As mentioned before I started doing "actual work" again and so it's even more frustrating that this has been lingering in a state where it's very close to useful but not quite there yet.
Things that are missing (see issues for details):
If you share my excitement about a community owned documentation platform for the Clojure/Script ecosystem please consider getting involved :)
If you'd like to be one of the very first libraries publishing their documentation to this new platform please reach out. I'd like to onboard a couple of people while in close contact to iron out remaining issues.
Thanks for reading!
Leave comments here or contact me privately on Slack.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close