Skip to content

Commit

Permalink
docs - updating documentation basics
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Nov 28, 2021
1 parent f41439f commit 199e4bc
Show file tree
Hide file tree
Showing 27 changed files with 128 additions and 358 deletions.
Empty file modified docs/Makefile
100644 → 100755
Empty file.
8 changes: 8 additions & 0 deletions docs/html.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

cd "$(dirname "$0")"

rm -rf build
mkdir build

sphinx-build -b html source/ build/
Binary file modified docs/source/_static/img/basic/bugs/system_export.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 16 additions & 10 deletions docs/source/basic/bugs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
.. |system_export| image:: ../_static/img/basic/bugs/system_export.png
:class: ga-img-basic ga-img-border

.. include:: ../includes/tip_links.rst

====
Bugs
====
Expand Down Expand Up @@ -37,7 +39,7 @@ Basic
Note the following in the ticket email:

- What action did you perform as the error occurred? (*if any*)
- Export the current config and attach it to the email:
- Export the current config and attach it to the issue/ticket:

|system_export|

Expand All @@ -50,21 +52,25 @@ Please prepare the following:
- Try to re-create the error
- Copy the following logs each in a separate text file:

- core log
- growautomation service log
- growautomation service journal log
- device logs (*if device-logging is enabled and devices are affected*)
- GrowAutomation - Core
- Service - GrowAutomation
- Service journal - GrowAutomation
- GrowAutomation - DeviceX (*if device-logging is enabled and devices are affected*)

- Send a `ticket <mailto:bugs@growautomation.eu>`_
- Check if there are `existing issues/bugs <https://github.com/superstes/growautomation/issues>`_
- Open a new `GitHub issue <https://github.com/superstes/growautomation/issues/new>`_ and attach the logs/config-export to it

Web
===

Please prepare the following:

- Try to re-create the error
- Copy the following logs each in a separate text file:

- web log
- apache-webserver service log
- apache-webserver service journal log
- GrowAutomation - Web
- Service - Apache webserver
- Service journal - Apache webserver

- Send a `ticket <mailto:bugs@growautomation.eu>`_
- Check if there are `existing issues/bugs <https://github.com/superstes/growautomation/issues>`_
- Open a new `GitHub issue <https://github.com/superstes/growautomation/issues/new>`_ and attach the logs/config-export to it
60 changes: 36 additions & 24 deletions docs/source/basic/intro.rst
Original file line number Diff line number Diff line change
@@ -1,41 +1,51 @@
.. _basic-intro:


.. include:: ../includes/tip_links.rst

=====
Intro
=====

Links
*****
* `Source on GitHub <https://github.com/superstes/growautomation>`_
* `Video tutorials <https://www.youtube.com/channel/UCLJyDlo3Z6eP_X2Pw0-Z8Pw>`_
* `Demo system <https://demo.growautomation.at/>`_
* `Support the project => Become a patreon <https://www.patreon.com/growautomation/>`_

----

What is GrowAutomation?
***********************

Aim of this project
===================
* monitor grow environments
* start actions based on conditions
* plant monitoring to analyze success or failure
* making setup and maintenance easier
* helping to **optimize grow environments**

* monitor grow environments using sensors
* plant monitoring to analyze success or failure
* automating repetitive tasks

* start actions based on conditions


* simplifying **user experience**

* blueprint for physical setup
* providing `a web ui <https://demo.growautomation.eu>`_ for easy maintenance and setup
* 'blueprints' for physical setup
* tutorial videos
* passing known issues and their solutions

* extension by external scripts
* being an independent system
* create a collection of knowledge regarding this topics
* building a community around this ideas
* collecting knowledge regarding this topics

* documenting known issues and their solutions
* providing systems to support community knowledge-exchange


* **customization**

* support for custom 3th-party scripts
* enabling users to customize many system settings to their liking
* defaulting to opting-out


* being an **independent** system

* keeping the dependencies to a minimum
* possibility to operate as an offline system
* preferring opt-out for optional features

This project is not
===================
* yet in a stable state

----

Expand All @@ -46,14 +56,16 @@ Features

* timed loop to pull data from sensors


* output workflow

* support for **complex conditions**
* self-reversible actors
* self-reversing actors


* **web-interface** for user interactions

* configuration management
* data visualization via **dashboard system**
* system management
* mobile support
* smartphone/mobile support
2 changes: 2 additions & 0 deletions docs/source/basic/troubleshoot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
.. |system_log| image:: ../_static/img/basic/troubleshoot/system_log.png
:class: ga-img-basic ga-img-border

.. include:: ../includes/tip_links.rst

============
Troubleshoot
============
Expand Down
10 changes: 7 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
project = 'GrowAutomation'
copyright = '2021, Superstes'
author = 'René Pascal Rath'
author = 'Superstes'
extensions = ['sphinx_rtd_theme']
templates_path = ['_templates']
exclude_patterns = []
html_theme = 'sphinx_rtd_theme'
html_theme_options = {}
html_static_path = ['_static']
html_logo = '_static/img/ga02c.svg'
navtree_shift = True
navtree_root_links = True
# html_favicon = '_static/img/favicon.ico'
html_css_files = ['css/ga.css']
master_doc = 'index'
display_version = True
# navigation_depth = 4
# collapse_navigation = True
sticky_navigation = True
6 changes: 3 additions & 3 deletions docs/source/config/area.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. _config-area:

.. include:: ../includes/tip_links.rst
.. include:: ../includes/warn_in_progress.rst

====
Area
====

Description
***********
How to configure areas to limit actors and/or conditions.

.. warning::
Documentation is not yet finished.
1 change: 1 addition & 0 deletions docs/source/config/condition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.. |condition_basic| image:: ../_static/img/config/condition/basic.svg
:class: ga-img-center-mid

.. include:: ../includes/tip_links.rst

=========
Condition
Expand Down
6 changes: 3 additions & 3 deletions docs/source/config/dashboard.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
.. |element| image:: ../_static/img/config/dashboard/element.svg
:class: ga-img-basic ga-img-center

.. include:: ../includes/tip_links.rst
.. include:: ../includes/warn_in_progress.rst

=========
Dashboard
=========

.. warning::
Documentation is not yet finished.

Description
***********
How to configure dashboards in the GrowAutomation webinterface.
Expand Down
6 changes: 3 additions & 3 deletions docs/source/config/device.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
.. _config-device:

.. include:: ../includes/tip_links.rst
.. include:: ../includes/warn_in_progress.rst

======
Device
======
Expand All @@ -8,9 +11,6 @@ Description
***********
How to configure sensors for the input-workflow.

.. warning::
Documentation is not yet finished.

----

Basic
Expand Down
6 changes: 3 additions & 3 deletions docs/source/config/script.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. _config-script:

.. include:: ../includes/tip_links.rst
.. include:: ../includes/warn_in_progress.rst

======
Script
======

Description
***********
How add and manage custom scripts.

.. warning::
Documentation is not yet finished.
6 changes: 3 additions & 3 deletions docs/source/config/system.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. _config-system:

.. include:: ../includes/tip_links.rst
.. include:: ../includes/warn_in_progress.rst

======
System
======

Description
***********
How to configure the controller system.

.. warning::
Documentation is not yet finished.
6 changes: 3 additions & 3 deletions docs/source/config/task.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. _config-task:

.. include:: ../includes/tip_links.rst
.. include:: ../includes/warn_in_progress.rst

====
Task
====

Description
***********
How to configure system tasks.

.. warning::
Documentation is not yet finished.
3 changes: 2 additions & 1 deletion docs/source/device/connection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
.. |mcp3008_pin| image:: ../_static/img/devices/connection/mcp3008_pinout.png
:class: ga-img-right-small

.. include:: ../includes/tip_links.rst

==========
Connection
==========


Description
***********
Here you can find information to the implementation and maintenance of connection-devices such as analog to digital converters.
Expand Down
2 changes: 2 additions & 0 deletions docs/source/device/input.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
.. |light_photo_resistance| image:: ../_static/img/devices/input/light_sensor_photo_resistance.jpg
:class: ga-img-right-small

.. include:: ../includes/tip_links.rst

=====
Input
=====
Expand Down
7 changes: 3 additions & 4 deletions docs/source/device/output.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@
.. |l298n_wiring| image:: ../_static/img/devices/output/l298n_wiring.png
:class: ga-img-center-mid ga-img-border

.. include:: ../includes/tip_links.rst
.. include:: ../includes/warn_in_progress.rst

======
Output
======


Description
***********

Expand All @@ -22,9 +24,6 @@ Here you can find information to the implementation and maintenance of output-de

Please include at least the information you see listed in the existing devices below.

.. warning::
Documentation is not yet finished.

----

Devices
Expand Down
7 changes: 7 additions & 0 deletions docs/source/includes/tip_links.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. tip::
Check out:

* our `repository on GitHub <https://github.com/superstes/growautomation>`_
* our `DEMO system <https://demo.growautomation.eu>`_
* our `Video tutorials <https://www.youtube.com/channel/UCLJyDlo3Z6eP_X2Pw0-Z8Pw>`_
* our `Patreon page <https://www.patreon.com/growautomation/>`_ => a way of supporting the project
2 changes: 2 additions & 0 deletions docs/source/includes/warn_in_progress.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.. warning::
Documentation is not yet finished.

0 comments on commit 199e4bc

Please sign in to comment.