Private
Public Access
2
0

sphinx: update python module documentation to reflect latest changes

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-07-31 10:25:24 +02:00
parent 9b6d67aa87
commit 1b2ff8af55
4 changed files with 12 additions and 12 deletions

View File

@@ -47,7 +47,7 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = 'pymraa'
project = 'mraa'
copyright = '2014, Intel Corporation'
# The version info for the project you're documenting, acts as replacement for
@@ -180,7 +180,7 @@ html_static_path = ['_static']
#html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'pymraadoc'
htmlhelp_basename = 'mraadoc'
# -- Options for LaTeX output ---------------------------------------------

View File

@@ -1,16 +1,16 @@
#######
Example
#######
Here are some examples of how to use pymraa, common convention is to import pymraa as mraa to keep it short but feel free to import it globally!
Here are some examples of how to use mraa, common convention is to import mraa as mraa to keep it short but feel free to import it globally!
Hello GPIO
==========
Here is the simplest Gpio program in pymraa.
Here is the simplest Gpio program in mraa.
.. literalinclude:: ../../../examples/python/hello_gpio.py
:prepend: import pymraa
:start-after: import pymraa
:prepend: import mraa
:start-after: import mraa
GPIO Interupt (isr)
===================
@@ -20,6 +20,6 @@ The GPIO module allows you to set an interupt on a GPIO. This interupt is contro
**Note:** Galileo Gen1 only supports EDGE_BOTH
.. literalinclude:: ../../../examples/python/hello_isr.py
:prepend: import pymraa as mraa
:start-after: import pymraa as mraa
:prepend: import mraa
:start-after: import mraa

View File

@@ -3,7 +3,7 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Pymraa's documentation!
Welcome to mraa's documentation!
=============================
Contents:
@@ -11,7 +11,7 @@ Contents:
.. toctree::
:maxdepth: 2
pymraa
mraa
example

View File

@@ -1,7 +1,7 @@
pymraa module
mraa module
============
.. automodule:: pymraa
.. automodule:: mraa
:members:
:undoc-members:
:show-inheritance: