Compare commits

..

3 Commits

Author SHA1 Message Date
52a40dac7c „octoprint_estop/__init__.py“ ändern 2020-10-26 17:25:22 +00:00
ntoff
f8688d6415
Update README.md
remove colour from appearance code (it's not necessary for the plugin, it was just there as an example and may cause confusion)

update install instructions to include using the bundled plugin manager since the plugin is now registered
2017-12-05 10:23:28 +10:00
ntoff
d59d041b0b
Update readme appearance code
a couple of lines were using tabs instead of spaces
2017-12-05 09:36:13 +10:00
2 changed files with 7 additions and 7 deletions

View File

@ -10,7 +10,7 @@ That's the point of an EMERGENCY stop!
## Setup ## Setup
Install manually using this URL: Install via the bundled plugin manager, or manually using this URL:
https://github.com/ntoff/OctoPrint-Estop/archive/master.zip https://github.com/ntoff/OctoPrint-Estop/archive/master.zip
@ -20,12 +20,11 @@ Once installed, you may wish to move the button to the top of the sidebar, you c
Find the "appearance" section, and add the plugin to the top of the sidebar order. If no other components have been previously rearranged, you may end up with only the plugin in the order list, this is fine, you don't need to add every item to the list (not adding them won't stop them from showing up). Find the "appearance" section, and add the plugin to the top of the sidebar order. If no other components have been previously rearranged, you may end up with only the plugin in the order list, this is fine, you don't need to add every item to the list (not adding them won't stop them from showing up).
appearance: appearance:
color: violet components:
components: order:
order: sidebar:
sidebar: - plugin_estop
- plugin_estop
Please note: White spaces are critical inside the config.yaml file, special care must be taken when adding or removing entries that the correct layout is maintained. For more information on config.yaml and its appearance section, see here: http://docs.octoprint.org/en/master/configuration/config_yaml.html#appearance Please note: White spaces are critical inside the config.yaml file, special care must be taken when adding or removing entries that the correct layout is maintained. For more information on config.yaml and its appearance section, see here: http://docs.octoprint.org/en/master/configuration/config_yaml.html#appearance

View File

@ -45,6 +45,7 @@ class EstopPlugin(octoprint.plugin.StartupPlugin,
) )
__plugin_name__ = "Emergency Stop Button" __plugin_name__ = "Emergency Stop Button"
__plugin_pythoncompat__ = ">=2.7,<4"
def __plugin_load__(): def __plugin_load__():
global __plugin_implementation__ global __plugin_implementation__