Accepted (supersedes ADR #0014)
I'm having second thoughts on shipping examples as one of the next main things for cljdoc. Second to a clojure.spec integration it would be a huge feature but I'm no longer sure it's impact will be proportional.
Many people suggested examples as a feature for cljdoc but I think this might be more due to their familiarity with them from sites like clojuredocs.org — rather than library authors actively looking for ways to add structured examples to their libraries.
Various hypothesis that would support the addition of examples haven't been tested or verified sufficiently:
Don't ship examples just yet.
cljdoc is great because library authors don't have to do anything to get great looking documentation, let's keep it that way and focus on broader adoption, i.e. features that deliver value without requiring extra work from library authors.
No examples. Also some freed up time that can be directed towards other features that scale proportional to users rather than already-busy library authors doing even more work.
A few days of work sunk into this and the progress is preserved in the branch 70-examples
for now.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close