♻ GCode viewer: Extract into bundled plugin

This commit is contained in:
Gina Häußge committed 2020-07-01 13:26:55 +02:00
1 parent cf9de3d11c
commit ff552daf31
30 files changed
+194 -39352

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
.. _sec-bundledplugins-gcodeviewer:
GCode Viewer Plugin
===================
The GCode Viewer plugin provides a GCode viewer based on `Alex Ustyantsev's work <https://github.com/hudbrog/gCodeViewer>`_.
.. _fig-bundledplugins-gcodeviewer-example:
.. figure:: ../images/bundledplugins-gcodeviewer-example.png
:align: center
:alt: OctoPrint GCode Viewer Plugin
An example of the GCode Viewer in action.
The viewer has been included in OctoPrint ever since the first releases back in 2013, however as of
OctoPrint 1.4.1 it has been extracted into its own bundled plugin.
.. _sec-bundledplugins-gcodeviewer-configuration:
Configuring the plugin
----------------------
The plugin supports the following configuration keys:
* ``mobileSizeThreshold``: Whether to also enable tracking on unreleased OctoPrint versions (anything not stable releases
or release candidates). Defaults to ``false``.
* ``sizeThreshold``: Unique instance identifier, auto generated on first activation
.. _sec-bundledplugins-gcodeviewer-sourcecode:
Source Code
-----------
The source of the GCode Viewer plugin is bundled with OctoPrint and can be
found in its source repository under ``src/octoprint/plugins/gcodeviewer``.
+2 -1
View File
@@ -10,13 +10,14 @@ Bundled Plugins
action_command_notification.rst
action_command_prompt.rst
announcements.rst
tracking.rst
appkeys.rst
backup.rst
discovery.rst
errortracking.rst
gcodeviewer.rst
logging.rst
loginui.rst
pluginmanager.rst
printer_safety_check.rst
softwareupdate.rst
tracking.rst