From ede128f92d79fc8fef57d57c81c2772e136d2145 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 10 May 2019 11:07:43 -0400 Subject: [PATCH 1/2] Added sensor name to example filenames --- examples/{rwbit.py => register_rwbit.py} | 0 examples/{rwbits.py => register_rwbits.py} | 0 examples/{struct.py => register_struct.py} | 0 examples/{unarystruct.py => register_unarystruct.py} | 0 4 files changed, 0 insertions(+), 0 deletions(-) rename examples/{rwbit.py => register_rwbit.py} (100%) rename examples/{rwbits.py => register_rwbits.py} (100%) rename examples/{struct.py => register_struct.py} (100%) rename examples/{unarystruct.py => register_unarystruct.py} (100%) diff --git a/examples/rwbit.py b/examples/register_rwbit.py similarity index 100% rename from examples/rwbit.py rename to examples/register_rwbit.py diff --git a/examples/rwbits.py b/examples/register_rwbits.py similarity index 100% rename from examples/rwbits.py rename to examples/register_rwbits.py diff --git a/examples/struct.py b/examples/register_struct.py similarity index 100% rename from examples/struct.py rename to examples/register_struct.py diff --git a/examples/unarystruct.py b/examples/register_unarystruct.py similarity index 100% rename from examples/unarystruct.py rename to examples/register_unarystruct.py From b90e64bc6090b6896c8adf29c7fbd570129080c7 Mon Sep 17 00:00:00 2001 From: dherrada Date: Fri, 10 May 2019 11:08:28 -0400 Subject: [PATCH 2/2] Updated docs to reflect this --- docs/examples.rst | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/examples.rst b/docs/examples.rst index f8477f7..14ca92f 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -3,18 +3,18 @@ Simple tests Ensure your device works with this simple test. -.. literalinclude:: ../examples/rwbit.py - :caption: examples/rwbit.py +.. literalinclude:: ../examples/register_rwbit.py + :caption: examples/register_rwbit.py :linenos: -.. literalinclude:: ../examples/rwbits.py - :caption: examples/rwbits.py +.. literalinclude:: ../examples/register_rwbits.py + :caption: examples/register_rwbits.py :linenos: -.. literalinclude:: ../examples/struct.py - :caption: examples/struct.py +.. literalinclude:: ../examples/register_struct.py + :caption: examples/register_struct.py :linenos: -.. literalinclude:: ../examples/unarystruct.py - :caption: examples/unarystruct.py +.. literalinclude:: ../examples/register_unarystruct.py + :caption: examples/register_unarystruct.py :linenos: