Hi, I announce my first open source project, it's really small and
doesn't have lots of features yet, but I think it can be already
useful in its current state. I'll always be open to suggestions to
improve it, but as it's only version 0.3, now is the time to get
things straight.

There's two macro gen-doc that returns a list of documentation strings
and gen-doc-to-file that write those strings to files. Namespaces can
be grouped and also be specified using regular expressions. Here's an
example demonstrating most of the available features:

(gen-doc-to-file
  "g:/test.markdown"
  {:markup markdown}
  [clj-doc.markups.markdown clj-doc.markups.html-simple]
  #"(?=clj-doc)(?=(?!.*markdown))(?=(?!.*html-simple))")

This print documentation for clj-doc's markdown and html-simple
namespaces in the test0.markdown file and all others clj-doc
namespaces in test1.markdown. For more examples see the link below.

http://github.com/budu/clj-doc
http://whollyweirdwyrd.blogspot.com/2010/01/documenting-clojure-code.html

- budu
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to