Fixing Sphinx warnings during doc generation

This commit is contained in:
Peter Backx authored and Gina Häußge committed 2017-11-03 11:11:52 +01:00
1 parent 772ee76e76
commit a0df4e78b5
12 files changed
+30 -36

No files matched your search

+6 -6
View File
@@ -94,15 +94,15 @@ octoprint.plugin.pluginmanager.reconnect_hooks
.. py:function:: reconnect_hooks_hook(*args, **kwargs)
Returns additional hooks defined by the plugin for which the plugin manager
should display the "You should reconnect to your printer" message on plugin
install/uninstall/enabling/disabling.
Returns additional hooks defined by the plugin for which the plugin manager
should display the "You should reconnect to your printer" message on plugin
install/uninstall/enabling/disabling.
Handlers should return a Python list containing the affected hook names.
Handlers should return a Python list containing the affected hook names.
**Example**
**Example**
.. code-block:: python
.. code-block:: python
def reconnect_hooks_hook(*args, **kwargs):
return ["octoprint.plugin.exampleplugin.some_custom_hook",