update docs snippets
This commit is contained in:
parent
726213e701
commit
92e9d43071
@ -1,13 +1,12 @@
|
|||||||
|
<!-- Snippets to use for docs -->
|
||||||
|
|
||||||
<!-- Argument -->
|
<!-- Argument -->
|
||||||
|
|
||||||
<<a href="#[type-anchor]">[type]</a>> <i>[name]</i>
|
<nobr><<a href="#foo">Foo</a>> <i>name</i></nobr>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Class -->
|
<!-- Class -->
|
||||||
|
|
||||||
|
|
||||||
<h2 id="[class-anchor]">[class-name]</h2>
|
<h2 id="[class-anchor]">[class-name]</h2>
|
||||||
|
|
||||||
<p>[description]</p>
|
<p>[description]</p>
|
||||||
@ -22,10 +21,15 @@
|
|||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Constructor</th>
|
<th>Constructor</th>
|
||||||
|
<th>Usage</th>
|
||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>[constructor]( [arguments] )</code></td>
|
<td><code>[constructor]( [arguments] )</code></td>
|
||||||
|
<td class="factory-usage">
|
||||||
|
<code><span class='keyword'>new</span> L.Map(<span class="comment">…</span>)</code><br />
|
||||||
|
<code>L.map(<span class="comment">…</span>)</code>
|
||||||
|
</td>
|
||||||
<td>[description]</td>
|
<td>[description]</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -41,7 +45,7 @@
|
|||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>[method]( [arguments] )</code></td>
|
<td><code><b>[method]</b>( <nobr>argument</nobr>, <nobr>argument )</nobr></code></td>
|
||||||
<td><code>[return-type]</code></td>
|
<td><code>[return-type]</code></td>
|
||||||
<td>[description]</td>
|
<td>[description]</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -60,7 +64,7 @@
|
|||||||
<th>Description</th>
|
<th>Description</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td><code>[name]</code></td>
|
<td><code><b>[name]</b></code></td>
|
||||||
<td><code>[type]</code></td>
|
<td><code>[type]</code></td>
|
||||||
<td><code>[default]</code></td>
|
<td><code>[default]</code></td>
|
||||||
<td>[description]</td>
|
<td>[description]</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user