Commit 387fdeeb authored by Joel Collins's avatar Joel Collins
Browse files

Fixed documentation (still needs rewriting)

parent 56bc985a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@ Summary
-------
.. qrefflask:: openflexure_microscope.api.app:app
   :undoc-endpoints: index
   :blueprints: v2_root_blueprint, v2_streams_blueprint, v2_captures_blueprint, v2_settings_blueprint, v2_status_blueprint, v2_plugin_blueprint, v2_tasks_blueprint, v2_actions_blueprint
   :undoc-static:
   :endpoints:

@@ -13,7 +12,6 @@ Details
-------
.. autoflask:: openflexure_microscope.api.app:app
   :undoc-endpoints: index
   :blueprints: v2_root_blueprint, v2_streams_blueprint, v2_captures_blueprint, v2_settings_blueprint, v2_status_blueprint, v2_plugin_blueprint, v2_tasks_blueprint, v2_actions_blueprint
   :undoc-static:
   :endpoints:
   :order: path
+2 −24
Original line number Diff line number Diff line
Classes and Modules
===================

Plugin class
------------
.. autoclass:: openflexure_microscope.plugins.MicroscopePlugin
    :members:

.. autoclass:: openflexure_microscope.api.v1.views.MicroscopeViewPlugin
    :members:


Default plugins
Extension class
---------------

Autofocus
+++++++++
.. automodule:: openflexure_microscope.plugins.default.autofocus
    :members:

Camera calibration
++++++++++++++++++
.. automodule:: openflexure_microscope.plugins.default.camera_calibration
    :members:

Scan and Stack
++++++++++++++
.. automodule:: openflexure_microscope.plugins.default.scan
.. autoclass:: openflexure_microscope.common.flask_labthings.extensions.BaseExtension
    :members:
+0 −6
Original line number Diff line number Diff line
@@ -184,9 +184,3 @@ JSON form example

.. literalinclude:: forms_example.json
  :language: JSON


.. toctree::
   :maxdepth: 1

   ./form/json_form.rst
 No newline at end of file
+81 −85
Original line number Diff line number Diff line
{
  "id": "test-plugin",
  "icon": "pets",
    "forms": [
      {
  "forms": [{
      "name": "Simple request",
      "isCollapsible": false,
      "isTask": false,
      "selfUpdate": true,
      "route": "/do",
      "submitLabel": "Do things",
        "schema": [
          {
      "schema": [{
          "fieldType": "numberInput",
          "placeholder": "Some integer",
          "name": "val_int",
@@ -75,13 +73,11 @@
      "selfUpdate": true,
      "route": "/task",
      "submitLabel": "Start task",
        "schema": [
            {
      "schema": [{
        "fieldType": "numberInput",
        "name": "run_time",
        "label": "Run time (seconds)"
            }
        ]
      }]
    }
  ]
}
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ Install
-------

Stable installation
+++++++++++++++
+++++++++++++++++++
For most users, this is the reccommended installation method.

- Run ``curl -LSs get.openflexure.org/microscope |sudo bash``
@@ -13,7 +13,7 @@ For most users, this is the reccommended installation method.
- Follow on-screen prompts

Developer and non-interactive installation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The installer script can pull the latest development package from our git repository, and use install into a developer environment using Poetry. 
Options also exist to run the installer without any user prompts.

Loading