From a9fdbe7812da86ee1fc3b49cca53bd7fc1505908 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 5 Jan 2020 13:11:44 +0100 Subject: [PATCH] Fixed code-block format --- platypush/message/response/camera/android.py | 2 +- platypush/plugins/arduino.py | 2 +- platypush/plugins/gpio/zeroborg/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platypush/message/response/camera/android.py b/platypush/message/response/camera/android.py index ed18f0c82e..5bf9446fb8 100644 --- a/platypush/message/response/camera/android.py +++ b/platypush/message/response/camera/android.py @@ -7,7 +7,7 @@ class AndroidCameraStatusResponse(CameraResponse): """ Sample response:: - ..code-block:: json + .. code-block:: json { "stream_url": "https://192.168.1.30:8080/video", diff --git a/platypush/plugins/arduino.py b/platypush/plugins/arduino.py index a48070dfcc..978edf65ea 100644 --- a/platypush/plugins/arduino.py +++ b/platypush/plugins/arduino.py @@ -66,7 +66,7 @@ class ArduinoPlugin(GpioSensorPlugin): can be a function that takes an argument and transforms it or its lambda string representation. Note that ``analog_read`` returns by default float values in the range [0.0, 1.0]. Example: - ..code-block:: yaml + .. code-block:: yaml arduino: board: /dev/ttyUSB0 diff --git a/platypush/plugins/gpio/zeroborg/__init__.py b/platypush/plugins/gpio/zeroborg/__init__.py index 3dab8d1a24..5ab97e260b 100644 --- a/platypush/plugins/gpio/zeroborg/__init__.py +++ b/platypush/plugins/gpio/zeroborg/__init__.py @@ -150,7 +150,7 @@ class GpioZeroborgPlugin(Plugin): """ Get the current direction and motors power. Example response:: - ..code-block:: json + .. code-block:: json { "status": "running",