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:
@@ -47,7 +47,7 @@ source_suffix = '.rst'
|
|||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = 'pymraa'
|
project = 'mraa'
|
||||||
copyright = '2014, Intel Corporation'
|
copyright = '2014, Intel Corporation'
|
||||||
|
|
||||||
# The version info for the project you're documenting, acts as replacement for
|
# 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
|
#html_file_suffix = None
|
||||||
|
|
||||||
# Output file base name for HTML help builder.
|
# Output file base name for HTML help builder.
|
||||||
htmlhelp_basename = 'pymraadoc'
|
htmlhelp_basename = 'mraadoc'
|
||||||
|
|
||||||
|
|
||||||
# -- Options for LaTeX output ---------------------------------------------
|
# -- Options for LaTeX output ---------------------------------------------
|
||||||
|
|||||||
@@ -1,16 +1,16 @@
|
|||||||
#######
|
#######
|
||||||
Example
|
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
|
Hello GPIO
|
||||||
==========
|
==========
|
||||||
|
|
||||||
Here is the simplest Gpio program in pymraa.
|
Here is the simplest Gpio program in mraa.
|
||||||
|
|
||||||
.. literalinclude:: ../../../examples/python/hello_gpio.py
|
.. literalinclude:: ../../../examples/python/hello_gpio.py
|
||||||
:prepend: import pymraa
|
:prepend: import mraa
|
||||||
:start-after: import pymraa
|
:start-after: import mraa
|
||||||
|
|
||||||
GPIO Interupt (isr)
|
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
|
**Note:** Galileo Gen1 only supports EDGE_BOTH
|
||||||
|
|
||||||
.. literalinclude:: ../../../examples/python/hello_isr.py
|
.. literalinclude:: ../../../examples/python/hello_isr.py
|
||||||
:prepend: import pymraa as mraa
|
:prepend: import mraa
|
||||||
:start-after: import pymraa as mraa
|
:start-after: import mraa
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
You can adapt this file completely to your liking, but it should at least
|
You can adapt this file completely to your liking, but it should at least
|
||||||
contain the root `toctree` directive.
|
contain the root `toctree` directive.
|
||||||
|
|
||||||
Welcome to Pymraa's documentation!
|
Welcome to mraa's documentation!
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
Contents:
|
Contents:
|
||||||
@@ -11,7 +11,7 @@ Contents:
|
|||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
pymraa
|
mraa
|
||||||
example
|
example
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
pymraa module
|
mraa module
|
||||||
============
|
============
|
||||||
|
|
||||||
.. automodule:: pymraa
|
.. automodule:: mraa
|
||||||
:members:
|
:members:
|
||||||
:undoc-members:
|
:undoc-members:
|
||||||
:show-inheritance:
|
:show-inheritance:
|
||||||
Reference in New Issue
Block a user