Approved!

Regards,
Max Carlson
OpenLaszlo.org

On 4/28/10 5:56 PM, André Bargull wrote:
Change 20100429-bargull-cYn by barg...@bargull02 on 2010-04-29 02:25:14
in /home/anba/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: add reference documentation for boxmodel mixin

New Features:

Bugs Fixed: LPP-8821 (mixins not showing up in documentation)

Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:


Details:
library*.lzx:
The reference build process does not use the compiler autoincludes list,
but the components library.lzx to determine which files go into the
reference. So I've added mixins/library.lzx (and doctest-library.lzx for
reference quick builds) and made references to that file in the
components library.lzx file.

boxmodel.lzx:
- wrapped example program in CDATA block, this makes it easier to read
the example
- left aligned example to avoid extra whitespaces in output (LPP-8412)
- added explicit <include> in example code, autoinclude doesn't seem to
work
- added query-parameters="lzr=swf10" to example, so it runs in swf10
mode, because boxmodel is not supported in swf8
- changed wrong documentations from <!-- to <!---

lzx2js2doc.xsl:
The template file did not process mixins at all, just needed to add
"mixin" to the match clause and to update the "extends" processing (to
avoid "extends LzView" entries for mixins or interfaces).

js2doc-comment2dbk.xsl:
Query parameters must be annotated with role="query", see
common-html.xsl l.249

toc.xml:
Added entry for boxmodel



Tests:
cd docs/src; ant reference
open reference, note entry for boxmodel exists

Files:
M lps/components/library.lzx
A lps/components/mixins/library.lzx
A lps/components/mixins/doctest-library.lzx
M lps/components/mixins/boxmodel.lzx
M docs/src/nav/toc.xml
M docs/src/xsl/js2doc-comment2dbk.xsl
M docs/src/xsl/lzx2js2doc.xsl

Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100429-bargull-cYn.tar


Reply via email to