From a62454acc2742dc08556b4988f0d21bada614480 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 21 Feb 2022 10:33:37 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9D=20Switch=20Python=20doc=20link?= =?UTF-8?q?s=20to=20Python=203=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/configuration/config_yaml.rst | 4 ++-- docs/plugins/concepts.rst | 2 +- docs/plugins/gettingstarted.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuration/config_yaml.rst b/docs/configuration/config_yaml.rst index 0cab1bca5..1153169c3 100644 --- a/docs/configuration/config_yaml.rst +++ b/docs/configuration/config_yaml.rst @@ -692,7 +692,7 @@ Use the following settings to configure the serial connection to the printer: maxWritePasses: 5 # Use this to define additional patterns to consider for serial port listing. Must be a valid - # "glob" pattern (see http://docs.python.org/2/library/glob.html). Defaults to not set. + # "glob" pattern (see http://docs.python.org/3/library/glob.html). Defaults to not set. additionalPorts: - /dev/myPrinterSymlink @@ -709,7 +709,7 @@ Use the following settings to configure the serial connection to the printer: - M1 # Commands which should not be sent to the printer and just silently ignored. - # An example of when you may wish to use this could be useful if you wish to manually change a filament on M600, + # An example of when you may wish to use this could be useful if you wish to manually change a filament on M600, # by using that as a Pausing command (below) ignoredCommands: diff --git a/docs/plugins/concepts.rst b/docs/plugins/concepts.rst index add1acf03..341068e1d 100644 --- a/docs/plugins/concepts.rst +++ b/docs/plugins/concepts.rst @@ -3,7 +3,7 @@ General Concepts ================ -OctoPrint's plugins are `Python Packages `_ which in their +OctoPrint's plugins are :ref:`Python Packages ` which in their top-level module define a bunch of :ref:`control properties ` defining metadata (like name, version etc of the plugin) as well as information on how to initialize the plugin and into what parts of the system the plugin will actually plug in to perform its job. diff --git a/docs/plugins/gettingstarted.rst b/docs/plugins/gettingstarted.rst index 3ac2939d5..d74a7e459 100644 --- a/docs/plugins/gettingstarted.rst +++ b/docs/plugins/gettingstarted.rst @@ -125,7 +125,7 @@ up and ready to serve requests. You'll also note that we are using ``self._logger`` for logging. Where did that one come from? OctoPrint's plugin system injects :ref:`a some useful objects ` into our plugin implementation classes, -one of those being a fully instantiated `python logger `_ ready to be +one of those being a fully instantiated :ref:`python logger ` ready to be used by your plugin. As you can see in the log output above, that logger uses the namespace ``octoprint.plugins.helloworld`` for our little plugin here, or more generally ``octoprint.plugins.``. From 1d4043736774dd9b4ea3eb8381100a38d8943fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 21 Feb 2022 10:34:22 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D=20Forgot=20to=20switch=20inter?= =?UTF-8?q?wiki=20links=20too?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/conf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 5d8864016..8accb00f3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,7 +47,6 @@ extensions = [ todo_include_todos = True intersphinx_mapping = { "python": ("https://docs.python.org/3", None), - "python2": ("https://docs.python.org/2", None), "pyserial": ("https://pythonhosted.org/pyserial", None), }