I have some local modifications to the cd-client.core library that
support:
(1) creating a snapshot of
clojuredocs.org examples, see-alsos, and
comments remotely, via the API. Sorry, I probably should have asked
permission before sending thousands of API requests to the
clojuredocs.org server -- that is definitely not the most efficient
way to do this, but I wanted a big data set to test with after trying
out some small ones, and it did help me find a few more special
characters in symbol names that were not working with cd-client.core
that I was able to fix. See below for some (minor) strange behaviors
in the API that I don't know how to fix.
(2) Lets you switch between "web mode" and "local mode" for looking up
examples, see-alsos, and comments, as longs as you have a "clojuredocs
snapshot" stored locally. It is a bit of a hack right now, but I plan
to polish it a bit more. I haven't yet made searches work in local
mode, but there is no fundamental problem there other than deciding
exactly what kind of search strings you want to support, e.g. exact
match only, or regular expressions, etc.
I can't seem to find a string to put after the base URLs for the
examples, see-also, and comments API that can get back proper results
for these symbols:
..
I've tried _dot_dot .. and %2E%2E _dot_dot gets the closest but
returns no examples, even though this page has one:
http://clojuredocs.org/clojure_core/clojure.core/_dot_dot
/
I've tried _ / %2F but never get back any of the examples that
appear here:
http://clojuredocs.org/clojure_core/clojure.core/_
+
I've tried + %2B but never get back the examples that appear
here:
http://clojuredocs.org/clojure_core/clojure.core/+
Thanks,
Andy