[Lift] Re: Vscaladoc not grokking new documentation
I'll try removing the first p pair and add the colorization like you suggested here. I'll open an issue after I confirm whether removing the p fixes the issue. Thanks! Derek On Sat, Jun 6, 2009 at 7:41 AM, David Bernard david.bernard...@gmail.comwrote: Hi, It's a bug, I'll try to add a test case. (you could open issue at http://github.com/davidB/vscaladoc/issues) From the source code of the page the doc is present. I suggest you remove the p tag from the comment (at least the first pair). a side note. you could have colorized code if you use pre name=code class=scala or textarea name=code class=scala instead of simple pre /davidB PS: I'm was off-line several days. On Mon, Jun 1, 2009 at 00:05, Timothy Perrett timo...@getintheloop.euwrote: Try shooting David B a mail offline – he’s the vscaladoc master Not sure that he watches the lift list too much these days. Having said that I’ve not seen him on Gtalk for sometime so not sure what his movements are. Cheers, Tim On 31/05/2009 22:50, Derek Chen-Becker dchenbec...@gmail.com wrote: No, because they're intended to be formatting for the Scaladoc. Note that I escape entities within the table that should be displayed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Vscaladoc not grokking new documentation
It works if I removed the first p, so I'll put together a small test case project and create an issue. Also, if I want to use tables in the scaladoc it seems that the CSS for it makes them have no borders, etc. Do you have a special class for comment tables, or could I submit a patch for them? Thanks, Derek On Mon, Jun 8, 2009 at 8:24 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'll try removing the first p pair and add the colorization like you suggested here. I'll open an issue after I confirm whether removing the p fixes the issue. Thanks! Derek On Sat, Jun 6, 2009 at 7:41 AM, David Bernard david.bernard...@gmail.comwrote: Hi, It's a bug, I'll try to add a test case. (you could open issue at http://github.com/davidB/vscaladoc/issues) From the source code of the page the doc is present. I suggest you remove the p tag from the comment (at least the first pair). a side note. you could have colorized code if you use pre name=code class=scala or textarea name=code class=scala instead of simple pre /davidB PS: I'm was off-line several days. On Mon, Jun 1, 2009 at 00:05, Timothy Perrett timo...@getintheloop.euwrote: Try shooting David B a mail offline – he’s the vscaladoc master Not sure that he watches the lift list too much these days. Having said that I’ve not seen him on Gtalk for sometime so not sure what his movements are. Cheers, Tim On 31/05/2009 22:50, Derek Chen-Becker dchenbec...@gmail.com wrote: No, because they're intended to be formatting for the Scaladoc. Note that I escape entities within the table that should be displayed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Vscaladoc not grokking new documentation
OK, I opened issue #2, but the Markdown syntax isn't playing nice. I dug around and I think I figured out what the issue is: vscaladoc tries to only show the first line, and then adds an apiCommentsDetails div for the rest of the stuff so that it can show/hide it on demand. The issue is that with the p elements wrapping the first (long) paragraph, the div is partially nested in the p element (I can't remember the technical term for this), so that it isn't valid XHTML. For example, here's the output from the problem comment: div class=apiComments pGet a list of current attributes a href=javascript:// class=detailsBtn onclick=jQuery(this).next().toggle()[details]/a div class=apiCommentsDetails Each attribute item is a pair of (key,value). The key is an Either that depends on whether the attribute is prefixed or not. If the attribute is prefixed, the key is a Right((prefix, name)). If the attribute is unprefixed then the key is a Left(name). For example, the following table shows how various tag attributes would be represented:/p If I get rid of the p then it works fine. Thanks, Derek On Mon, Jun 8, 2009 at 4:21 PM, Derek Chen-Becker dchenbec...@gmail.comwrote: It works if I removed the first p, so I'll put together a small test case project and create an issue. Also, if I want to use tables in the scaladoc it seems that the CSS for it makes them have no borders, etc. Do you have a special class for comment tables, or could I submit a patch for them? Thanks, Derek On Mon, Jun 8, 2009 at 8:24 AM, Derek Chen-Becker dchenbec...@gmail.comwrote: I'll try removing the first p pair and add the colorization like you suggested here. I'll open an issue after I confirm whether removing the p fixes the issue. Thanks! Derek On Sat, Jun 6, 2009 at 7:41 AM, David Bernard david.bernard...@gmail.com wrote: Hi, It's a bug, I'll try to add a test case. (you could open issue at http://github.com/davidB/vscaladoc/issues) From the source code of the page the doc is present. I suggest you remove the p tag from the comment (at least the first pair). a side note. you could have colorized code if you use pre name=code class=scala or textarea name=code class=scala instead of simple pre /davidB PS: I'm was off-line several days. On Mon, Jun 1, 2009 at 00:05, Timothy Perrett timo...@getintheloop.euwrote: Try shooting David B a mail offline – he’s the vscaladoc master Not sure that he watches the lift list too much these days. Having said that I’ve not seen him on Gtalk for sometime so not sure what his movements are. Cheers, Tim On 31/05/2009 22:50, Derek Chen-Becker dchenbec...@gmail.com wrote: No, because they're intended to be formatting for the Scaladoc. Note that I escape entities within the table that should be displayed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Vscaladoc not grokking new documentation
Hi, It's a bug, I'll try to add a test case. (you could open issue at http://github.com/davidB/vscaladoc/issues) From the source code of the page the doc is present. I suggest you remove the p tag from the comment (at least the first pair). a side note. you could have colorized code if you use pre name=code class=scala or textarea name=code class=scala instead of simple pre /davidB PS: I'm was off-line several days. On Mon, Jun 1, 2009 at 00:05, Timothy Perrett timo...@getintheloop.euwrote: Try shooting David B a mail offline – he’s the vscaladoc master Not sure that he watches the lift list too much these days. Having said that I’ve not seen him on Gtalk for sometime so not sure what his movements are. Cheers, Tim On 31/05/2009 22:50, Derek Chen-Becker dchenbec...@gmail.com wrote: No, because they're intended to be formatting for the Scaladoc. Note that I escape entities within the table that should be displayed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Vscaladoc not grokking new documentation
No, because they're intended to be formatting for the Scaladoc. Note that I escape entities within the table that should be displayed. Derek On Sat, May 30, 2009 at 9:38 AM, Timothy Perrett timo...@getintheloop.euwrote: Just an off the wall shot, but do the entities have to be encoded? E.g. lt; and gt; Thanks, Tim On 29/05/2009 20:13, Derek Chen-Becker dchenbec...@gmail.com wrote: I've been adding a lot of expanded documentation to S and I just noticed that there are whole sections that are disappearing. For instance, I provided the following scaladoc for S.attrs: /** * pGet a list of current attributes. Each attribute item is a pair of (key,value). The key * is an Either that depends on whether the attribute is prefixed or not. If the attribute * is prefixed, the key is a Right((prefix, name)). If the attribute is unprefixed then the * key is a Left(name). For example, the following table shows how various tag attributes * would be represented:/p * * table * tr * tdlt;lift:MySnippet testname=test /gt;/td * tdList((Left(testname), test))/td * /tr * tr * tdlt;lift:MySnippet anchor:name=test /gt;/td * tdList((Right((anchor, name)), test))/td * /tr * /table * * pThe prefixedAttrsToMap method provides a convenient way to retrieve only attributes with * a given prefix. The prefixedAttrsToMetaData method can be used to add attributes onto an XML * node/p * * @see #prefixedAttrsToMap(String) * @see #prefixedAttrsToMap(String,Map) * @see #prefixedAttrsToMetaData(String) * @see #prefixedAttrsToMetaData(String,Map) */ But the generated documentation for this method is completely empty after the first sentence: http://scala-tools.org/mvnsites-snapshots/liftweb/lift-webkit/scaladocs/index . html Is this a bug or am I writing something wrong in the above comment? Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Vscaladoc not grokking new documentation
Try shooting David B a mail offline he¹s the vscaladoc master Not sure that he watches the lift list too much these days. Having said that I¹ve not seen him on Gtalk for sometime so not sure what his movements are. Cheers, Tim On 31/05/2009 22:50, Derek Chen-Becker dchenbec...@gmail.com wrote: No, because they're intended to be formatting for the Scaladoc. Note that I escape entities within the table that should be displayed. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---
[Lift] Re: Vscaladoc not grokking new documentation
Just an off the wall shot, but do the entities have to be encoded? E.g. lt; and gt; Thanks, Tim On 29/05/2009 20:13, Derek Chen-Becker dchenbec...@gmail.com wrote: I've been adding a lot of expanded documentation to S and I just noticed that there are whole sections that are disappearing. For instance, I provided the following scaladoc for S.attrs: /** * pGet a list of current attributes. Each attribute item is a pair of (key,value). The key * is an Either that depends on whether the attribute is prefixed or not. If the attribute * is prefixed, the key is a Right((prefix, name)). If the attribute is unprefixed then the * key is a Left(name). For example, the following table shows how various tag attributes * would be represented:/p * * table * tr * tdlt;lift:MySnippet testname=test /gt;/td * tdList((Left(testname), test))/td * /tr * tr * tdlt;lift:MySnippet anchor:name=test /gt;/td * tdList((Right((anchor, name)), test))/td * /tr * /table * * pThe prefixedAttrsToMap method provides a convenient way to retrieve only attributes with * a given prefix. The prefixedAttrsToMetaData method can be used to add attributes onto an XML * node/p * * @see #prefixedAttrsToMap(String) * @see #prefixedAttrsToMap(String,Map) * @see #prefixedAttrsToMetaData(String) * @see #prefixedAttrsToMetaData(String,Map) */ But the generated documentation for this method is completely empty after the first sentence: http://scala-tools.org/mvnsites-snapshots/liftweb/lift-webkit/scaladocs/index. html Is this a bug or am I writing something wrong in the above comment? Thanks, Derek --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Lift group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~--~~~~--~~--~--~---