From 3710d49f46df6407e7f02338039b0e1351ca3d51 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Wed, 8 Feb 2023 16:32:45 -0500 Subject: [PATCH] docs: various small updates Signed-off-by: Eric Callahan --- docs/configuration.md | 10 ++++++++-- docs/installation.md | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 088d5ef..6bc2ef8 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -712,10 +712,11 @@ pin: PA13 # The variable below should be initialized to the startup value. If your # device is configured to be on at startup use "variable_value: 1" variable_value: 0 +gcode: {% if 'VALUE' not in params %} {action_raise_error("Parameter 'VALUE' missing from 'SET_FLARE'")} {% endif %} - {% set state = params.VALUE %} + {% set state = params.VALUE|int %} {% if state %} # turn the neopixel on SET_LED LED=extruder_flare RED=0.75 BLUE=0.2 GREEN=0.2 SYNC=0 @@ -971,6 +972,7 @@ Example: [power homeassistant_switch] type: homeassistant +protocol: http address: 192.168.1.126 port: 8123 device: switch.1234567890abcdefghij @@ -1433,7 +1435,7 @@ info_tags: # The default is an empty list. ``` -#### All other extensions +#### Git Repo Configuration !!! Note Git repos must have at least one tag for Moonraker to identify its @@ -1441,6 +1443,10 @@ info_tags: semantic version format, `vX.Y.Z`, where X, Y, and Z are all unsigned integer values. For example, a repos first tag might be `v0.0.1`. + Moonraker can still update repos without tags, however as of 2/8/2023 + the common front ends disable update controls when version information + is not reported by Moonraker. + ```ini # moonraker.conf diff --git a/docs/installation.md b/docs/installation.md index ce7cf07..36913d6 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -299,10 +299,10 @@ Following are some items to take note of: by the enviroment variable `MOONRAKER_ARGS`. This variable is set in the environment file. -#### The Enivironment File +#### The Environment File The environment file, `moonraker.env`. is created in the data path during -installation. A default installation's enviroment file will contain the path +installation. A default installation's environment file will contain the path to `moonraker.py` and the data path option, ie: ```