From 7a3b048d803642331256905980eebfd85acf0e16 Mon Sep 17 00:00:00 2001 From: Magnus Persson Date: Wed, 18 May 2022 07:12:37 +0200 Subject: [PATCH] Fixed errors in docs --- src_docs/source/data.rst | 22 +++------------------- src_docs/source/index.rst | 2 +- src_docs/source/releases.rst | 3 ++- 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/src_docs/source/data.rst b/src_docs/source/data.rst index 11aef37..0673ee2 100644 --- a/src_docs/source/data.rst +++ b/src_docs/source/data.rst @@ -40,7 +40,7 @@ This is the format template used to create the json above. { "name" : "${mdns}", "ID": "${id}", - "token" : "gravmon", + "token" : "${token}", "interval": ${sleep-interval}, "temperature": ${temp}, "temp_units": "${temp-unit}", @@ -129,15 +129,6 @@ This is the format template used to create the json above. ispindel/${mdns}/interval:${sleep-interval}| ispindel/${mdns}/RSSI:${rssi}| -This is a format template that is compatible with v0.6. Just replace the `topic` with the topic you want to post data to. - -.. code-block:: - - topic:{"name":"gravmon", "ID":"${id}", "token":"gravmon", "interval": ${sleep-interval}, - "temperature": ${temp}, "temp_units": "${temp-unit}", "gravity":${gravity}, - "angle": ${angle}, "battery":${battery}, "rssi": ${rssi}, "corr-gravity":${corr-gravity}, - "gravity-unit": "${gravity-unit}", "run-time": ${run-time}}| - version.json ============ @@ -150,13 +141,6 @@ they can be uploaded manually afterwards. { "project":"gravmon", - "version":"0.7.0", - "html": [ - "index.min.htm", - "test.min.htm", - "config.min.htm", - "format.min.htm", - "calibration.min.htm", - "about.min.htm" - ] + "version":"1.0.0", + "html": [ ] } diff --git a/src_docs/source/index.rst b/src_docs/source/index.rst index be98643..bb411c7 100644 --- a/src_docs/source/index.rst +++ b/src_docs/source/index.rst @@ -7,7 +7,7 @@ Welcome to GravityMon's documentation! ###################################### .. note:: - This documentation reflects **v1.0**. Last updated 2022-05-16 + This documentation reflects **v1.0**. Last updated 2022-05-18 * Docs for: `v0.8 `_ * Docs for: `v0.9 `_ diff --git a/src_docs/source/releases.rst b/src_docs/source/releases.rst index ccdd98a..cda3d8d 100644 --- a/src_docs/source/releases.rst +++ b/src_docs/source/releases.rst @@ -8,8 +8,9 @@ Updates Documentation +++++++++++++ -* Added documentation for Brewpiless as target +* Fixed errors in data format section * Added q&a on formula creation and value deviation +* Added documentation for Brewpiless as target v1.0.0 ======