[Lift] Re: Vscaladoc not grokking new documentation

2009-06-08 Thread Derek Chen-Becker
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  elements wrapping the first (long) paragraph, the div is partially
nested in the  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:

   

 Get a list of current attributes

  [details]
  
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:

If I get rid of the  then it works fine.

Thanks,

Derek

On Mon, Jun 8, 2009 at 4:21 PM, Derek Chen-Becker wrote:

> It works if I removed the first , 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 
> wrote:
>
>> I'll try removing the first  pair and add the colorization like you
>> suggested here. I'll open an issue after I confirm whether removing the 
>> fixes the issue.
>>
>> Thanks!
>>
>> Derek
>>
>>
>> On Sat, Jun 6, 2009 at 7:41 AM, David Bernard > > 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  tag from the comment (at least the first pair).
>>>
>>> a side note. you could have "colorized" code if you use
>>>or >> class="scala">
>>> instead of simple
>>>   
>>>
>>> /davidB
>>>
>>> PS: I'm was off-line several days.
>>>
>>>
>>> On Mon, Jun 1, 2009 at 00:05, Timothy Perrett 
>>> wrote:
>>>

 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"  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

2009-06-08 Thread Derek Chen-Becker
It works if I removed the first , 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 wrote:

> I'll try removing the first  pair and add the colorization like you
> suggested here. I'll open an issue after I confirm whether removing the 
> fixes the issue.
>
> Thanks!
>
> Derek
>
>
> On Sat, Jun 6, 2009 at 7:41 AM, David Bernard 
> 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  tag from the comment (at least the first pair).
>>
>> a side note. you could have "colorized" code if you use
>>or 
>> instead of simple
>>   
>>
>> /davidB
>>
>> PS: I'm was off-line several days.
>>
>>
>> On Mon, Jun 1, 2009 at 00:05, Timothy Perrett wrote:
>>
>>>
>>> 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"  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

2009-06-08 Thread Derek Chen-Becker
I'll try removing the first  pair and add the colorization like you
suggested here. I'll open an issue after I confirm whether removing the 
fixes the issue.

Thanks!

Derek

On Sat, Jun 6, 2009 at 7:41 AM, David Bernard 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  tag from the comment (at least the first pair).
>
> a side note. you could have "colorized" code if you use
>or 
> instead of simple
>   
>
> /davidB
>
> PS: I'm was off-line several days.
>
>
> On Mon, Jun 1, 2009 at 00:05, Timothy Perrett wrote:
>
>>
>> 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"  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

2009-06-06 Thread David Bernard
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  tag from the comment (at least the first pair).

a side note. you could have "colorized" code if you use
   or 
instead of simple
  

/davidB

PS: I'm was off-line several days.

On Mon, Jun 1, 2009 at 00:05, Timothy Perrett wrote:

>
> 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"  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

2009-05-31 Thread Timothy Perrett

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"  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

2009-05-31 Thread Derek Chen-Becker
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 wrote:

>
>
> Just an off the wall shot, but do the entities have to be encoded? E.g.
> <
> and >
>
> Thanks, Tim
>
> On 29/05/2009 20:13, "Derek Chen-Becker"  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:
> >
> >   /**
> >* Get 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:
> >*
> >* 
> >*   
> >* 
> >* List((Left("testname"), "test"))
> >*   
> >*   
> >* 
> >* List((Right(("anchor", "name")), "test"))
> >*   
> >* 
> >*
> >* The 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
> >*
> >* @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

2009-05-30 Thread Timothy Perrett


Just an off the wall shot, but do the entities have to be encoded? E.g. <
and >

Thanks, Tim

On 29/05/2009 20:13, "Derek Chen-Becker"  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:
> 
>   /**
>    * Get 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:
>    *
>    * 
>    *   
>    * 
>    * List((Left("testname"), "test"))
>    *   
>    *   
>    * 
>    * List((Right(("anchor", "name")), "test"))
>    *   
>    * 
>    *
>    * The 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
>    *
>    * @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
-~--~~~~--~~--~--~---