docs: modified index pages for documentation to link to samples repo

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu 2015-06-04 15:16:25 -07:00
parent ea544e8391
commit 6efe6916ba
3 changed files with 162 additions and 135 deletions

View File

@ -23,6 +23,9 @@ may also create more complex structures in order to interface with them.
Browse through the list of all [examples](https://github.com/intel-iot-devkit/upm/tree/master/examples). Browse through the list of all [examples](https://github.com/intel-iot-devkit/upm/tree/master/examples).
Multi-sensor samples for the starter and specialized kits can be found in the
[iot-devkit-samples](https://github.com/intel-iot-devkit/iot-devkit-samples) repository.
### Supported Sensors ### Supported Sensors
Supported [sensor list](http://iotdk.intel.com/docs/master/upm/modules.html) from API documentation. Supported [sensor list](http://iotdk.intel.com/docs/master/upm/modules.html) from API documentation.

View File

@ -15,6 +15,14 @@
For building UPM, please follow this `link <https://github.com/intel-iot-devkit/upm/blob/master/docs/building.md>`_. For building UPM, please follow this `link <https://github.com/intel-iot-devkit/upm/blob/master/docs/building.md>`_.
``Examples``
############
Multi-sensor samples for the starter and specialized kits can be found in the `iot-devkit-samples <https://github.com/intel-iot-devkit/iot-devkit-samples>`_
repository.
Individual sensor usage examples for python are available `here <https://github.com/intel-iot-devkit/upm/tree/master/examples/python>`_.
``Making your own UPM Module`` ``Making your own UPM Module``
############################## ##############################

View File

@ -1,150 +1,166 @@
<div class="apidocs"> <div class="apidocs">
<div class="content" id="docs-main"> <div class="content" id="docs-main">
<h1><strong>Welcome to UPM Node.JS Documentation!</strong><a class="headerlink" <h1><strong>Welcome to UPM Node.JS Documentation!</strong><a class="headerlink"
href="#welcome-to-upm-python-documentation"></a></h1> href="#welcome-to-upm-python-documentation"></a></h1>
<p>Browse to a module or class using the sidebar to view its API <p>Browse to a module or class using the sidebar to view its API
documentation.</p> documentation.</p>
<p>UPM is a high level repository for sensors that use libmraa. Each <p>UPM is a high level repository for sensors that use libmraa. Each
sensor links to libmraa and are not meant to be interlinked although sensor links to libmraa and are not meant to be interlinked although
some groups of sensors may be. Each sensor contains a header which some groups of sensors may be. Each sensor contains a header which
allows to interface with it. Typically a sensor is represented as a allows to interface with it. Typically a sensor is represented as a
class and instantiated.</p> class and instantiated.</p>
<p>The constructor is expected to initialise the sensor and <p>The constructor is expected to initialise the sensor and parameters
parameters may be used to provide identification/pin location on the may be used to provide identification/pin location on the board.</p>
board.</p>
<p>Typically an update() function will be called in order to get new <p>Typically an update() function will be called in order to get new
data from the sensor in order to reduce load when doing multiple data from the sensor in order to reduce load when doing multiple reads
reads to sensor data.</p> to sensor data.</p>
<div class="section" id="building-upm"> <div class="section" id="examples">
<h3><tt class="docutils literal"><span class="pre">Building</span> <h3><code class="docutils literal"><span class="pre">Examples</span></code><a class="headerlink"
<span class="pre">UPM</span></tt><a class="headerlink" href="#examples"
href="#building-upm" title="Permalink to this headline">*</a></h3>
title="Permalink to this headline">*</a></h3>
<p>For building UPM, please follow this <p>Multi-sensor samples for the starter and specialized kits can be
<a class="reference external" found in the
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/building.md">link</a>.</p> <a class="reference external"
href="https://github.com/intel-iot-devkit/iot-devkit-samples">iot-devkit-samples</a>
repository.</p>
<p>Individual sensor usage examples for node.js are available
<a class="reference external"
href="https://github.com/intel-iot-devkit/upm/tree/master/examples/javascript">here</a>.</p>
</div>
<div class="section" id="building-upm">
<h3><tt class="docutils literal"><span class="pre">Building</span>
<span class="pre">UPM</span></tt><a class="headerlink"
href="#building-upm"
title="Permalink to this headline">*</a></h3>
<p>For building UPM, please follow this
<a class="reference external"
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/building.md">link</a>.</p>
</div>
<div class="section" id="making-your-own-upm-module">
<h3><tt class="docutils literal"><span class="pre">Making</span>
<span class="pre">your</span> <span class="pre">own</span>
<span class="pre">UPM</span> <span class="pre">Module</span></tt><a class="headerlink"
href="#making-your-own-upm-module"
title="Permalink to this headline">*</a></h3>
<p>This
<a class="reference external"
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/porting.md">link</a>
has more information on making a new UPM module.</p>
<p>There is also an example available for max31855
<a class="reference external"
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/max31855.md">sensor</a>.</p>
</div>
<div class="section"
id="naming-conventions-and-rules-for-new-upm-contributions">
<h3><tt class="docutils literal"><span class="pre">Naming</span>
<span class="pre">Conventions</span> <span class="pre">and</span>
<span class="pre">Rules</span> <span class="pre">for</span>
<span class="pre">New</span> <span class="pre">UPM</span>
<span class="pre">Contributions</span></tt><a class="headerlink"
href="#naming-conventions-and-rules-for-new-upm-contributions"
title="Permalink to this headline">*</a></h3>
<p>Before you begin development, please take a look at our naming
<a class="reference external"
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/naming.md">conventions</a>.</p>
<p>Also, please read the guidelines for contributions to
<a class="reference external"
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/contributions.md">UPM</a>.</p>
<p>Don&rsquo;t forget to check the documentation
<a class="reference external"
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/documentation.md">section</a>.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<ul class="last simple">
<li>Make sure you add yourself as an author on every new code
file submitted.</li>
<li>If you are providing a fix with significant changes, feel
free to add yourself as a contributor.</li>
<li>Signing-off your commits is mandatory.</li>
</ul>
</div> </div>
<div class="section" id="making-your-own-upm-module"> </div>
<h3><tt class="docutils literal"><span class="pre">Making</span> <div class="section" id="api-documentation">
<span class="pre">your</span> <span class="pre">own</span> <h1><strong>API Documentation</strong><a class="headerlink"
<span class="pre">UPM</span> <span class="pre">Module</span></tt><a class="headerlink" href="#api-documentation"
href="#making-your-own-upm-module" title="Permalink to this headline"></a></h1>
title="Permalink to this headline">*</a></h3>
<p>This <p><a href="http://iotdk.intel.com/docs/master/upm/"><img src="../docs/c++.png" /></a>
<a class="reference external" <a href="http://iotdk.intel.com/docs/master/upm/python"><img src="../docs/python.png" /></a>
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/porting.md">link</a> <a href="http://iotdk.intel.com/docs/master/upm/node"><img src="../docs/node.png" /></a>
has more information on making a new UPM module.</p> </p>
</div>
<p>There is also an example available for max31855 <div class="section" id="version-changelog">
<a class="reference external" <h3><tt class="docutils literal"><span class="pre">Version</span>
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/max31855.md">sensor</a>.</p> <span class="pre">Changelog</span></tt><a class="headerlink"
href="#version-changelog"
</div> title="Permalink to this headline">*</a></h3>
<div class="section"
id="naming-conventions-and-rules-for-new-upm-contributions">
<h3><tt class="docutils literal"><span class="pre">Naming</span>
<span class="pre">Conventions</span> <span class="pre">and</span>
<span class="pre">Rules</span> <span class="pre">for</span>
<span class="pre">New</span> <span class="pre">UPM</span>
<span class="pre">Contributions</span></tt><a class="headerlink"
href="#naming-conventions-and-rules-for-new-upm-contributions"
title="Permalink to this headline">*</a></h3>
<p>Before you begin development, please take a look at our naming <p>For our Version Changelog, please see
<a class="reference external" <a class="reference external"
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/naming.md">conventions</a>.</p> href="https://github.com/intel-iot-devkit/upm/blob/master/docs/changelog.md">here</a>.</p>
</div>
<div class="section" id="known-limitations">
<h3><tt class="docutils literal"><span class="pre">Known</span>
<span class="pre">Limitations</span></tt><a class="headerlink"
href="#known-limitations"
title="Permalink to this headline">*</a></h3>
<p>Also, please read the guidelines for contributions to <p>For the List of Known Limitations, please see
<a class="reference external" <a class="reference external"
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/contributions.md">UPM</a>.</p> href="https://github.com/intel-iot-devkit/upm/blob/master/docs/knownlimitations.md">here</a>.</p>
</div>
<div class="section" id="keyboard-shortcuts">
<h3><tt class="docutils literal"><span class="pre">Keyboard</span>
<span class="pre">Shortcuts</span></tt><a class="headerlink"
href="#keyboard-shortcuts"
title="Permalink to this headline">*</a></h3>
<p>Don&rsquo;t forget to check the documentation <ul>
<a class="reference external" <li>
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/documentation.md">section</a>.</p>
<div class="admonition note"> <p>Press <kbd>s</kbd> to focus the API search box.</p> </li>
<li>
<p class="first admonition-title">Note</p> <p>Use <kbd>Up</kbd> and <kbd>Down</kbd> to select classes,
<ul class="last simple"> modules, and search results.</p> </li>
<li>Make sure you add yourself as an author on every new <li class="mac-only">
code file submitted.</li>
<li>If you are providing a fix with significant changes,
feel free to add yourself as a contributor.</li>
<li>Signing-off your commits is mandatory.</li>
</ul>
</div>
</div>
<div class="section" id="api-documentation">
<h1><strong>API Documentation</strong><a class="headerlink"
href="#api-documentation"
title="Permalink to this headline"></a></h1>
<p>With the API search box or sidebar focused, use <kbd><span class="cmd">&#8984;</span>-Left</kbd>
or <kbd><span class="cmd">&#8984;</span>-Right</kbd> to switch
sidebar tabs.</p> </li>
<li class="pc-only">
<p><a href="http://iotdk.intel.com/docs/master/upm/"><img src="../docs/c++.png" /></a> <p>With the API search box or sidebar focused, use <kbd>Ctrl+Left</kbd>
<a href="http://iotdk.intel.com/docs/master/upm/python"><img src="../docs/python.png" /></a> and <kbd>Ctrl+Right</kbd> to switch sidebar tabs.</p> </li>
<a href="http://iotdk.intel.com/docs/master/upm/node"><img src="../docs/node.png" /></a> </ul>
</p> </div>
</div> </div>
<div class="section" id="version-changelog">
<h3><tt class="docutils literal"><span class="pre">Version</span>
<span class="pre">Changelog</span></tt><a class="headerlink"
href="#version-changelog"
title="Permalink to this headline">*</a></h3>
<p>For our Version Changelog, please see
<a class="reference external"
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/changelog.md">here</a>.</p>
</div>
<div class="section" id="known-limitations">
<h3><tt class="docutils literal"><span class="pre">Known</span>
<span class="pre">Limitations</span></tt><a class="headerlink"
href="#known-limitations"
title="Permalink to this headline">*</a></h3>
<p>For the List of Known Limitations, please see
<a class="reference external"
href="https://github.com/intel-iot-devkit/upm/blob/master/docs/knownlimitations.md">here</a>.</p>
</div>
<div class="section" id="keyboard-shortcuts">
<h3><tt class="docutils literal"><span class="pre">Keyboard</span>
<span class="pre">Shortcuts</span></tt><a class="headerlink"
href="#keyboard-shortcuts"
title="Permalink to this headline">*</a></h3>
<ul>
<li>
<p>Press <kbd>s</kbd> to focus the API search box.</p> </li>
<li>
<p>Use <kbd>Up</kbd> and <kbd>Down</kbd> to select classes,
modules, and search results.</p> </li>
<li class="mac-only">
<p>With the API search box or sidebar focused, use <kbd><span class="cmd">&#8984;</span>-Left</kbd>
or <kbd><span class="cmd">&#8984;</span>-Right</kbd> to switch
sidebar tabs.</p> </li>
<li class="pc-only">
<p>With the API search box or sidebar focused, use <kbd>Ctrl+Left</kbd>
and <kbd>Ctrl+Right</kbd> to switch sidebar tabs.</p> </li>
</ul>
</div>
</div>