--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
I guess I was more curious as to when asHtml would be used? I started using it by accident when I should have been using toHtml.
Could we get a note in the api doc at some point to draw people's attention to the difference in usage - to help others avoid making the same mistake I did?
ThanksDamian.--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
Had this same exact idea on my drive to work. with so many versions it will get pretty hairy though.
In the end, API documentation must be in the source code. How we get there is another matter.
1. Wider community of users can, with a consorted effort and a little ingenuity assemble most of the docs around the scaladoc skeleton. Then commiters review, edit and embed the comments into the source. Alternative path - scaladoc with user comments, ala postgresql documentation.
2. Committers may take an additional burden onto themselves to update the code with comments every time and place they change the codebase.
3. A new team is formed, focused only on doc updates. Sign what they need to sign. Get access to the repository with write privileges. Doc branch is merged with trunk by the core team post review of the documentation quality.
I think #2 is most sound, and industry standard, but given the fact no one is going to sponsor the time wasted by core team on the effort this path is least appealing.
#1 is most "lockdown" friendly, but in the long run will be proven disastrous - it will be another outdated pile of garbage and yet another source of confusion. More questions to the list, more time wasted answering them.
#3 may be an ok option. Responsibilities are split, but control remains with people who wrote the code, with bulk of the work done, leaping the last mile should be painless.
Thoughts?
You could also add links from the ScalaDocs to the community discussion page for that method/class/object to make it easier for people to find more info, ask questions or improve the docs themselves.
--
> On Wed, Oct 19, 2011 at 2:58 AM, Damian H <damia...@gmail.com> wrote:
>
>> I guess I was more curious as to when asHtml would be used? I started using
>> it by accident when I should have been using toHtml.
>
>
> Dunno. :-) I wrote those methods back 5 years ago and at the time, I had a
> good reason (they may have mirrored something in Rails.)
>
>
>>
>> Could we get a note in the api doc at some point to draw people's attention
>> to the difference in usage - to help others avoid making the same mistake I
>> did?
>>
>
> This goes to the core of the discussion we were having the the Scala Lift
> Off London and another thread on the mailing list... how do we open Lift's
> documentation/ScalaDocs to the community?
>
> I'd love to hear suggestions that do not involve GitHub pull requests.
Is there a reason why it can't involve pull requests? This does seems to
be an easy way to get it going. The committer merging the pull request
of course needs to make sure it is only docs being merged.
While the docs are technically part of the source, they are not in the
final artifacts so maybe they are not covered by the license. But ianal
:-)
/Jeppe