From 2364474ea6573cf4ab8375a31189e3f0cc6e6bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 8 Nov 2017 18:10:37 +0100 Subject: [PATCH] Docs: Fix language on code-block & indentation --- docs/bundledplugins/softwareupdate.rst | 42 +++++++++++++------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/bundledplugins/softwareupdate.rst b/docs/bundledplugins/softwareupdate.rst index 904a3922..b68a6751 100644 --- a/docs/bundledplugins/softwareupdate.rst +++ b/docs/bundledplugins/softwareupdate.rst @@ -117,29 +117,29 @@ Configuring the Plugin .. code-block:: yaml - plugins: - softwareupdate: - # the time-to-live of the version cache, in minutes - cache_ttl: 60 + plugins: + softwareupdate: + # the time-to-live of the version cache, in minutes + cache_ttl: 60 - # configured version check and update methods - checks: - # "octoprint" is reserved for OctoPrint - octoprint: - # this defines an version check that will check against releases - # published on OctoPrint's Github repository and pip as update method - # against the release archives on Github - this is the default - type: github_release - user: foosel - repo: OctoPrint - method: pip - pip: 'https://github.com/foosel/OctoPrint/archive/{target_version}.zip' + # configured version check and update methods + checks: + # "octoprint" is reserved for OctoPrint + octoprint: + # this defines an version check that will check against releases + # published on OctoPrint's Github repository and pip as update method + # against the release archives on Github - this is the default + type: github_release + user: foosel + repo: OctoPrint + method: pip + pip: 'https://github.com/foosel/OctoPrint/archive/{target_version}.zip' - # further checks may be define here + # further checks may be define here - # pip command, if another one than the automatically detected one should be - # used - should normally NOT be necessary and hence set - pip_command: /path/to/pip + # pip command, if another one than the automatically detected one should be + # used - should normally NOT be necessary and hence set + pip_command: /path/to/pip .. _sec-bundledplugins-softwareupdate-configuration-versionchecks: @@ -245,7 +245,7 @@ Update methods ``method`` to ``pip``, the Software Update plugin is instructed to use that as update method. - .. code-block:: + .. code-block:: yaml plugins: softwareupdate: