Update lua docs
This commit is contained in:
+25
-11
@@ -17,7 +17,7 @@
|
||||
<xsl:comment>This file is automatically generated. Do not edit it.</xsl:comment>
|
||||
<html>
|
||||
<head>
|
||||
<title>ITGmania Lua Information</title>
|
||||
<title>ITGmania API Reference</title>
|
||||
<style type="text/css">
|
||||
th {
|
||||
background: #DDDDDD url(./bgline.png) repeat-x scroll 0 0;
|
||||
@@ -68,13 +68,13 @@
|
||||
margin: 1px 2px 1px 2px;
|
||||
border: 1px solid #777;
|
||||
}
|
||||
.renamed{
|
||||
.sinceITGmania{
|
||||
text-align: justify;
|
||||
vertical-align: text-top;
|
||||
background: #FFEEDD url(./bgline.png) repeat-x scroll 0 0;
|
||||
padding: 1px;
|
||||
}
|
||||
fieldset div.renamed{
|
||||
fieldset div.sinceITGmania{
|
||||
margin: 1px 2px 1px 2px;
|
||||
border: 1px solid #777;
|
||||
}
|
||||
@@ -178,6 +178,13 @@
|
||||
Open( classid );
|
||||
location.hash = classid + '_' + functionid;
|
||||
}
|
||||
function OpenOnLoad()
|
||||
{
|
||||
var hash = window.location.hash;
|
||||
if (hash){
|
||||
Open( hash.replace("#","") );
|
||||
}
|
||||
}
|
||||
function Toggle( id )
|
||||
{
|
||||
var imgid = 'img_' + id;
|
||||
@@ -200,7 +207,10 @@
|
||||
<link rel="icon" type="image/vnd.microsoft.icon" href="./favicon.ico"/>
|
||||
</head>
|
||||
<body>
|
||||
<xsl:apply-templates />\
|
||||
<xsl:apply-templates />
|
||||
<script>
|
||||
OpenOnLoad();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
@@ -209,7 +219,7 @@
|
||||
<xsl:template match="sm:Lua">
|
||||
<div>
|
||||
<div id="header">
|
||||
<h2><a href="https://github.com/itgmania/itgmania/">ITGmania</a> Lua Information</h2><br/>
|
||||
<h2><a href="https://github.com/itgmania/itgmania/">ITGmania</a> API Reference</h2><br/>
|
||||
<small>A collection of Lua bindings which can be used in themes for ITGmania.</small>
|
||||
</div>
|
||||
<table id="sections">
|
||||
@@ -233,8 +243,8 @@
|
||||
<div>
|
||||
<fieldset>
|
||||
<legend>Function Colors</legend>
|
||||
<div class="sinceITGmania">New in ITGmania</div>
|
||||
<div class="descriptionCell">Available in StepMania 5</div>
|
||||
<div class="renamed">Renamed or changed from StepMania 4 alphas</div>
|
||||
<div class="fallbackTheme">Defined in the _fallback theme</div>
|
||||
<div class="defaultTheme">Defined in the default theme</div>
|
||||
</fieldset>
|
||||
@@ -480,8 +490,7 @@
|
||||
<td>
|
||||
<xsl:attribute name="class">
|
||||
<xsl:choose>
|
||||
<!-- "renamed" also covers functions with modified behavior -->
|
||||
<xsl:when test="$elmt/@renamed='true'">renamed</xsl:when>
|
||||
<xsl:when test="contains($elmt/@since, 'ITGmania')">sinceITGmania</xsl:when>
|
||||
<xsl:when test="$elmt/@theme='_fallback'">fallbackTheme</xsl:when>
|
||||
<xsl:when test="$elmt/@theme='default'">defaultTheme</xsl:when>
|
||||
<xsl:otherwise>descriptionCell</xsl:otherwise>
|
||||
@@ -497,12 +506,17 @@
|
||||
select="$elmt/@arguments" />
|
||||
</xsl:call-template>
|
||||
<xsl:text> )</xsl:text>
|
||||
</span>
|
||||
<p class="descriptionText">
|
||||
</span>
|
||||
<div class="descriptionText">
|
||||
<xsl:apply-templates select="$elmt" mode="print">
|
||||
<xsl:with-param name="class" select="$class" />
|
||||
</xsl:apply-templates>
|
||||
</p>
|
||||
|
||||
<xsl:if test="$elmt/@since">
|
||||
<br />
|
||||
<em>New in <xsl:value-of select="$elmt/@since" />.</em>
|
||||
</xsl:if>
|
||||
</div>
|
||||
</td>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
|
||||
Reference in New Issue
Block a user