cljsinfo / cljs.info

ClojureScript website
http://cljs.info
MIT License
96 stars 9 forks source link

Create map of symbols to maps of tooltip paragraphs and clojuredocs links #15

Closed shaunlebron closed 9 years ago

oakmac commented 9 years ago

For each symbol it would be great to have:

shaunlebron commented 9 years ago

We can use clojure.tools.reader to get arities and docstrings from code, which I tried in cljs-pprint.

We can use the reader on ClojureScript function implementations found here:

We can do the same for macros in the following files. Some macros are carried over from clojure, but some are reimplemented for clojurescript (most missing docstrings, so we should just use those from clojure when they're missing).

shaunlebron commented 9 years ago

Not sure what to do about examples and related functions yet. It would be nice to use existing ones from clojuredocs and grimoire. @oakmac found these api links for clojuredocs: