Sorin Marian Nasoi has proposed merging lp:~zorba-coders/zorba/feature_xqdoc_version_for_modules into lp:zorba.
Requested reviews: Sorin Marian Nasoi (sorin.marian.nasoi) William Candillon (wcandillon) For more details, see: https://code.launchpad.net/~zorba-coders/zorba/feature_xqdoc_version_for_modules/+merge/88108 Added the information about the Zorba module version in the generated XQDoc documentation. -- https://code.launchpad.net/~zorba-coders/zorba/feature_xqdoc_version_for_modules/+merge/88108 Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq' --- modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq 2011-12-21 14:40:33 +0000 +++ modules/com/zorba-xquery/www/modules/xqdoc2xhtml/index.xq 2012-01-10 20:28:26 +0000 @@ -1121,6 +1121,13 @@ else (<div class="subsubsection">XQuery version and encoding for this module:</div>, <p class="annotationText">xquery version "{$module/xqdoc:comment/xqdoc:custom[@tag='XQuery version']/text()}" encoding "{$module/xqdoc:comment/xqdoc:custom[@tag='encoding']/text()}";</p>) + ), + let $modVersion := xqdoc2html:get-module-version($moduleUri) + return + if($modVersion = "") then () + else + (<div class="subsubsection">Zorba version for this module:</div>, + <p>The latest version of this module is <strong>{$modVersion}</strong>. For more information please check out <a href="../../html/modules_using.html#mod_versioning" target="_blank">this</a> resource.</p> ) };
-- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp