Re: Images in autodoc?

2010-10-30 Thread Ryan Waters
+1 on the side of enhancing clojure's core documentation On Thu, Oct 28, 2010 at 1:08 PM, Chris Maier christopher.ma...@gmail.com wrote: My interest is general improvement of Clojure documentation.  At the conj, I spoke with Zack Kim about helping to improve the state of the documentation.  

Re: Images in autodoc?

2010-10-28 Thread Chris Maier
My interest is general improvement of Clojure documentation. At the conj, I spoke with Zack Kim about helping to improve the state of the documentation. My goal was to contribute additional documentation for vars that are lacking, as well as clarifying some of the more confusing doc strings

Re: Images in autodoc?

2010-10-27 Thread Andrew Gwozdziewycz
So, I started working on docup[1], which currently is just for fun, but my intentions are to find some subset of rules for what we've discussed in this thread that would be appropriate for autodoc's markup. It doesn't currently support much at all, but to eliminate gobbledegook, there's no nesting

Re: Images in autodoc?

2010-10-27 Thread Eric Schulte
Christopher Petrilli petri...@amber.org writes: Interestingly, the Python community does something like this. Usually there's a very brief explanation of the function/class, a blank line, then more, and many tools take this into account. Seems like it might be a good way to split it up.

Re: Images in autodoc?

2010-10-26 Thread Tom Faulhaber
it to feel natural to readers who aren't seeing the image. Tom On Oct 25, 7:05 pm, Chris christopher.ma...@gmail.com wrote: Is it possible to add images to autodoc-generated pages like javadoc can?  I'm interested in adding explanatory diagrams to function documentation as opposed to adding

Re: Images in autodoc?

2010-10-26 Thread Andrew Gwozdziewycz
On Tue, Oct 26, 2010 at 3:50 AM, Tom Faulhaber tomfaulha...@gmail.com wrote: It's on the roadmap. I haven't really figured out a way to do it that fits in with other uses of doc strings. I do know that I want the images to be able to be embedded in the doc string so that programs like

Re: Images in autodoc?

2010-10-26 Thread Chris
On Oct 26, 3:50 am, Tom Faulhaber tomfaulha...@gmail.com wrote: I do know that I want the images to be able to be embedded in the doc string so that programs like incanter can use the image as part of the narrative, but I want the markup that does it to feel natural to readers who aren't

Re: Images in autodoc?

2010-10-26 Thread Chris
Come to think of it, it might be cool to write doc strings in a kind of Clojure-flavored Markdown... that'd give us images, links, lists, formatting, etc. It's also got the benefit of being a familiar format, and easy to read in unprocessed form. Chris On Oct 26, 6:05 am, Chris

Re: Images in autodoc?

2010-10-26 Thread Andrew Gwozdziewycz
On Tue, Oct 26, 2010 at 9:27 AM, Chris christopher.ma...@gmail.com wrote: Come to think of it, it might be cool to write doc strings in a kind of Clojure-flavored Markdown... that'd give us images, links, lists, formatting, etc.  It's also got the benefit of being a familiar format, and easy

Re: Images in autodoc?

2010-10-26 Thread Chris
On Oct 26, 9:54 am, Andrew Gwozdziewycz apg...@gmail.com wrote: I like that idea, especially if it could be extended to reference other code: Agreed. So now that's links to images, web pages, Clojure vars... anything else? Chris -- You received this message because you are subscribed to the

Re: Images in autodoc?

2010-10-26 Thread Andrew Gwozdziewycz
On Tue, Oct 26, 2010 at 10:30 AM, Chris christopher.ma...@gmail.com wrote: On Oct 26, 9:54 am, Andrew Gwozdziewycz apg...@gmail.com wrote: I like that idea, especially if it could be extended to reference other code: Agreed.  So now that's links to images, web pages, Clojure vars... anything

Re: Images in autodoc?

2010-10-26 Thread Eric Schulte
Chris christopher.ma...@gmail.com writes: On Oct 26, 9:54 am, Andrew Gwozdziewycz apg...@gmail.com wrote: I like that idea, especially if it could be extended to reference other code: Agreed. So now that's links to images, web pages, Clojure vars... anything else? LaTeX equations. Which

Re: Images in autodoc?

2010-10-26 Thread Andrew Gwozdziewycz
On Tue, Oct 26, 2010 at 12:21 PM, Eric Schulte schulte.e...@gmail.com wrote: Chris christopher.ma...@gmail.com writes: On Oct 26, 9:54 am, Andrew Gwozdziewycz apg...@gmail.com wrote: I like that idea, especially if it could be extended to reference other code: Agreed.  So now that's links

Re: Images in autodoc?

2010-10-26 Thread Tom Faulhaber
Nah, changing the autodoc generation is easy (though we need to figure out where images go on the input and output sides and move them around, but that shouldn't be too much of a problem). The bigger problem is figuring out what to tell folks who type (doc foo) at the REPL and get a bunch of

Re: Images in autodoc?

2010-10-26 Thread Chris Maier
On Tue, Oct 26, 2010 at 1:08 PM, Tom Faulhaber tomfaulha...@gmail.com wrote: The bigger problem is figuring out what to tell folks who type (doc foo) at the REPL and get a bunch of gobbledegook back. That's the thing that's been making me look for a better format than markdown. (Autodoc

Re: Images in autodoc?

2010-10-26 Thread Andrew Gwozdziewycz
On Tue, Oct 26, 2010 at 2:06 PM, Chris Maier christopher.ma...@gmail.com wrote: On Tue, Oct 26, 2010 at 1:08 PM, Tom Faulhaber tomfaulha...@gmail.com wrote: The bigger problem is figuring out what to tell folks who type (doc foo) at the REPL and get a bunch of gobbledegook back. That's the

Re: Images in autodoc?

2010-10-26 Thread Timo Mihaljov
On Tue, Oct 26, 2010 at 02:15:21PM -0400, Andrew Gwozdziewycz wrote: Areas likely to include gobbledegook: [...] 2. links (internal. for external links, just use fully qualified URI) Internal links could be easily handled by trying to resolve all `code blocks` with ns-resolve in the namespace

Re: Images in autodoc?

2010-10-26 Thread Andrew Gwozdziewycz
On Tue, Oct 26, 2010 at 4:44 PM, Timo Mihaljov noid@gmail.com wrote: On Tue, Oct 26, 2010 at 02:15:21PM -0400, Andrew Gwozdziewycz wrote: Areas likely to include gobbledegook: [...] 2. links (internal. for external links, just use fully qualified URI) Internal links could be easily

Re: Images in autodoc?

2010-10-26 Thread Chris Maier
On Tue, Oct 26, 2010 at 4:44 PM, Timo Mihaljov noid@gmail.com wrote: If you wanted to get real fancy, you could even check if the code block is a list, and then resolve each symbol inside the list, so that, for example, resolve's docstring would look like this at the REPL: user= (doc

Images in autodoc?

2010-10-25 Thread Chris
Is it possible to add images to autodoc-generated pages like javadoc can? I'm interested in adding explanatory diagrams to function documentation as opposed to adding things like logos to the HTML pages. Thanks, Chris -- You received this message because you are subscribed to the Google Groups