Skip to content

Commit

Permalink
doc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotstokes committed Aug 13, 2014
1 parent 0305fe6 commit f1444be
Show file tree
Hide file tree
Showing 22 changed files with 374 additions and 63 deletions.
2 changes: 1 addition & 1 deletion doc/GpxExtent.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ <h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-g
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri Jun 20 2014 09:52:36 GMT+0100 (BST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Aug 13 2014 09:19:33 GMT+0100 (BST)
</footer>

<script> prettyPrint(); </script>
Expand Down
33 changes: 29 additions & 4 deletions doc/GpxMetaData.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ <h2>
GpxMetaData
</h2>

<div class="class-description">Stores all the metadata associated with the gpx file.</div>

</header>

<article>
Expand All @@ -39,7 +41,7 @@ <h2>


<dt>
<h4 class="name" id="GpxMetaData"><span class="type-signature"></span>new GpxMetaData<span class="signature">(creator)</span><span class="type-signature"></span></h4>
<h4 class="name" id="GpxMetaData"><span class="type-signature"></span>new GpxMetaData<span class="signature">(creator, time)</span><span class="type-signature"></span></h4>


</dt>
Expand Down Expand Up @@ -97,7 +99,30 @@ <h5>Parameters:</h5>



<td class="description last">The creator of the gpx file</td>
<td class="description last">The creator of the gpx file.</td>
</tr>



<tr>

<td class="name"><code>time</code></td>


<td class="type">


<span class="param-type">string</span>



</td>





<td class="description last">The string representation of the datetime from the file.</td>
</tr>


Expand Down Expand Up @@ -128,7 +153,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="gpxMetaData.js.html">gpxMetaData.js</a>, <a href="gpxMetaData.js.html#line6">line 6</a>
<a href="gpxMetaData.js.html">gpxMetaData.js</a>, <a href="gpxMetaData.js.html#line8">line 8</a>
</li></ul></dd>


Expand Down Expand Up @@ -189,7 +214,7 @@ <h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-g
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri Jun 20 2014 09:52:36 GMT+0100 (BST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Aug 13 2014 09:19:33 GMT+0100 (BST)
</footer>

<script> prettyPrint(); </script>
Expand Down
81 changes: 75 additions & 6 deletions doc/GpxResult.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2>


<dt>
<h4 class="name" id="GpxResult"><span class="type-signature"></span>new GpxResult<span class="signature">(creator)</span><span class="type-signature"></span></h4>
<h4 class="name" id="GpxResult"><span class="type-signature"></span>new GpxResult<span class="signature">(metadata, waypoints, routes, tracks)</span><span class="type-signature"></span></h4>


</dt>
Expand Down Expand Up @@ -83,13 +83,13 @@ <h5>Parameters:</h5>

<tr>

<td class="name"><code>creator</code></td>
<td class="name"><code>metadata</code></td>


<td class="type">


<span class="param-type">string</span>
<span class="param-type"><a href="GpxMetaData.html">GpxMetaData</a></span>



Expand All @@ -99,7 +99,76 @@ <h5>Parameters:</h5>



<td class="description last">The creator of the gpx</td>
<td class="description last">The metadata associated with the gpx trace</td>
</tr>



<tr>

<td class="name"><code>waypoints</code></td>


<td class="type">


<span class="param-type">Array.&lt;<a href="GpxWaypoint.html">GpxWaypoint</a>></span>



</td>





<td class="description last">An array of waypoints.</td>
</tr>



<tr>

<td class="name"><code>routes</code></td>


<td class="type">


<span class="param-type">Array.&lt;<a href="GpxRoute.html">GpxRoute</a>></span>



</td>





<td class="description last">An array of routes.</td>
</tr>



<tr>

<td class="name"><code>tracks</code></td>


<td class="type">


<span class="param-type">Array.&lt;<a href="GpxTrack.html">GpxTrack</a>></span>



</td>





<td class="description last">An array of tracks.</td>
</tr>


Expand Down Expand Up @@ -130,7 +199,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="gpxResult.js.html">gpxResult.js</a>, <a href="gpxResult.js.html#line7">line 7</a>
<a href="gpxResult.js.html">gpxResult.js</a>, <a href="gpxResult.js.html#line10">line 10</a>
</li></ul></dd>


Expand Down Expand Up @@ -191,7 +260,7 @@ <h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-g
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri Jun 20 2014 09:52:36 GMT+0100 (BST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Aug 13 2014 09:19:33 GMT+0100 (BST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion doc/GpxRoute.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ <h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-g
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri Jun 20 2014 09:52:36 GMT+0100 (BST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Aug 13 2014 09:19:33 GMT+0100 (BST)
</footer>

<script> prettyPrint(); </script>
Expand Down
33 changes: 28 additions & 5 deletions doc/GpxTrack.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h2>


<dt>
<h4 class="name" id="GpxTrack"><span class="type-signature"></span>new GpxTrack<span class="signature">(segments)</span><span class="type-signature"></span></h4>
<h4 class="name" id="GpxTrack"><span class="type-signature"></span>new GpxTrack<span class="signature">(segments, name)</span><span class="type-signature"></span></h4>


</dt>
Expand Down Expand Up @@ -103,6 +103,29 @@ <h5>Parameters:</h5>
</tr>



<tr>

<td class="name"><code>name</code></td>


<td class="type">


<span class="param-type">String</span>



</td>





<td class="description last">The name of the Track</td>
</tr>


</tbody>
</table>

Expand Down Expand Up @@ -130,7 +153,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="gpxTrack.js.html">gpxTrack.js</a>, <a href="gpxTrack.js.html#line9">line 9</a>
<a href="gpxTrack.js.html">gpxTrack.js</a>, <a href="gpxTrack.js.html#line10">line 10</a>
</li></ul></dd>


Expand Down Expand Up @@ -217,7 +240,7 @@ <h4 class="name" id="length"><span class="type-signature"></span>length<span cla

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="gpxTrack.js.html">gpxTrack.js</a>, <a href="gpxTrack.js.html#line33">line 33</a>
<a href="gpxTrack.js.html">gpxTrack.js</a>, <a href="gpxTrack.js.html#line34">line 34</a>
</li></ul></dd>


Expand Down Expand Up @@ -286,7 +309,7 @@ <h4 class="name" id="segment"><span class="type-signature"></span>segment<span c

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="gpxTrack.js.html">gpxTrack.js</a>, <a href="gpxTrack.js.html#line26">line 26</a>
<a href="gpxTrack.js.html">gpxTrack.js</a>, <a href="gpxTrack.js.html#line27">line 27</a>
</li></ul></dd>


Expand Down Expand Up @@ -333,7 +356,7 @@ <h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-g
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri Jun 20 2014 09:52:36 GMT+0100 (BST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Aug 13 2014 09:19:33 GMT+0100 (BST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion doc/GpxWaypoint.html
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ <h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-g
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri Jun 20 2014 09:52:36 GMT+0100 (BST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Aug 13 2014 09:19:33 GMT+0100 (BST)
</footer>

<script> prettyPrint(); </script>
Expand Down
2 changes: 1 addition & 1 deletion doc/geomUtils.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-g
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri Jun 20 2014 09:52:36 GMT+0100 (BST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Aug 13 2014 09:19:33 GMT+0100 (BST)
</footer>

<script> prettyPrint(); </script>
Expand Down
14 changes: 7 additions & 7 deletions doc/global.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ <h3 class="subsection-title">Type Definitions</h3>
<dl>

<dt>
<h4 class="name" id="requestCallback"><span class="type-signature"></span>requestCallback<span class="signature">(error, responseMessage)</span><span class="type-signature"></span></h4>
<h4 class="name" id="gpxParseCompleteCallback"><span class="type-signature"></span>gpxParseCompleteCallback<span class="signature">(error, response)</span><span class="type-signature"></span></h4>


</dt>
<dd>


<div class="description">
/* Callback document for gpxParseCompleteCallback
Callback when gpx result has been processed.
</div>


Expand Down Expand Up @@ -158,13 +158,13 @@ <h5>Parameters:</h5>

<tr>

<td class="name"><code>responseMessage</code></td>
<td class="name"><code>response</code></td>


<td class="type">


<span class="param-type">string</span>
<span class="param-type"><a href="GpxResult.html">GpxResult</a></span>



Expand All @@ -174,7 +174,7 @@ <h5>Parameters:</h5>



<td class="description last"></td>
<td class="description last">The parsed gpx file object</td>
</tr>


Expand Down Expand Up @@ -205,7 +205,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="gpx-parse.js.html">gpx-parse.js</a>, <a href="gpx-parse.js.html#line188">line 188</a>
<a href="gpx-parse.js.html">gpx-parse.js</a>, <a href="gpx-parse.js.html#line223">line 223</a>
</li></ul></dd>


Expand Down Expand Up @@ -250,7 +250,7 @@ <h2><a href="index.html">Index</a></h2><h3>Modules</h3><ul><li><a href="module-g
<br clear="both">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Fri Jun 20 2014 09:52:36 GMT+0100 (BST)
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.2.2</a> on Wed Aug 13 2014 09:19:33 GMT+0100 (BST)
</footer>

<script> prettyPrint(); </script>
Expand Down
Loading

0 comments on commit f1444be

Please sign in to comment.