docs

About docs of Clojure & libs
2018-05-24T18:55:57.000010Z

@martinklepsch This is super cool and looks like a big improvement over some existing similar solutions. I wonder if it would be possible to expand this to encourage projects to have more of a narrative. One that could be expanded or modified by the community. By narrative, i mean that the project tells you a story about how its used. I feel like right now the readme mainly serves this purpose, but its static and isn’t tied to the code. So the two things i feel could be improved are making this narrative a) interactive b) tied to the code c) leverages tests (property based or unit) to walk you through the code base. I feel projects like https://www.maria.cloud are similar to this type of approach. Of course, some projects are hard to run in a browser because of their dependencies, which i feel might be a commentary on how they were built, but i’m sure the situation is unavoidable or not worth the effort in many cases.

2018-05-25T12:40:51.000254Z

Its a great first step. In my previous comment i was just explaining that as system creators, we stand to gain much by making the core of our system pure. In this case, if you have isolated all your logic into pure functions, and your lucky enough that code is clojurescript compatible, then it would be a lot easier for tools (like yours) to do something with it.

2018-05-24T19:08:40.000310Z

tried it with my little library. All good but got an error, not sure if its something i need to fix on my end or if i should file an issue: https://cljdoc.xyz/d/fk-gen/fk-gen/0.3.3-alpha/api/fk-gen.core

2018-05-24T19:17:07.000299Z

I just saw the bit about articles, thats a good addition. This is actually really nice little time saver and sets a good convention for creating examples.

martinklepsch 2018-05-24T20:20:30.000288Z

interesting, can you open an issue with that link so I don’t forget to look into it at some point?

martinklepsch 2018-05-24T20:22:02.000177Z

interactive examples are definitely something I’d like to see explored but I’m afraid it might only ever work well with functions that operate on plain data

1
martinklepsch 2018-05-24T21:25:21.000595Z

There’s a #cljdoc channel as well btw @drewverlee

2018-05-24T23:15:08.000148Z

Thats very interesting, because maybe we should all design so that the majority of our code operates in plain data