From 6df336465f279f640549b9953d6f6bd9e609435c Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 22 Feb 2021 01:35:42 +0100 Subject: [PATCH] Fixed nested list style in backend.http documentation --- platypush/backend/http/__init__.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/platypush/backend/http/__init__.py b/platypush/backend/http/__init__.py index 55d86beaf..46bdf5af3 100644 --- a/platypush/backend/http/__init__.py +++ b/platypush/backend/http/__init__.py @@ -33,9 +33,9 @@ class HttpBackend(Backend): * To execute Platypush commands via HTTP calls. In order to do so: - ** Register a user to Platypush through the web panel (usually served on ``http://host:8008/``). + * Register a user to Platypush through the web panel (usually served on ``http://host:8008/``). - ** Generate a token for your user, either through the web panel (Settings -> Generate Token) or via API: + * Generate a token for your user, either through the web panel (Settings -> Generate Token) or via API: .. code-block:: shell @@ -45,7 +45,7 @@ class HttpBackend(Backend): "password": "$YOUR_PASSWORD" }' http://host:8008/auth - ** Execute actions through the ``/execute`` endpoint: + * Execute actions through the ``/execute`` endpoint: .. code-block:: shell @@ -64,11 +64,10 @@ class HttpBackend(Backend): * To display a fullscreen dashboard with custom widgets. - ** Widgets are available as Vue.js components under - ``platypush/backend/http/webapp/src/components/widgets``. + * Widgets are available as Vue.js components under ``platypush/backend/http/webapp/src/components/widgets``. - ** Explore their options (some may require some plugins or backends to be configured in order to work) and - create a new dashboard template under ``~/.config/platypush/dashboards``- e.g. ``main.xml``: + * Explore their options (some may require some plugins or backends to be configured in order to work) and + create a new dashboard template under ``~/.config/platypush/dashboards``- e.g. ``main.xml``: .. code-block:: xml @@ -102,8 +101,8 @@ class HttpBackend(Backend): - ** The dashboard will be accessible under ``http://host:8008/dashboard/``, where ``name=main`` if for - example you stored your template under ``~/.config/platypush/dashboards/main.xml``. + * The dashboard will be accessible under ``http://host:8008/dashboard/``, where ``name=main`` if for + example you stored your template under ``~/.config/platypush/dashboards/main.xml``. * To expose custom endpoints that can be called as web hooks by other applications and run some custom logic. All you have to do in this case is to create a hook on a