2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 13:46:54 +00:00

fixing paths

This commit is contained in:
Matthias Mair 2021-10-12 00:12:43 +02:00
parent 597558a2c7
commit 2d2dbd2414

View File

@ -6,7 +6,8 @@ title: Plugins
The InvenTree server code supports an extensible plugin architecture, allowing custom plugins to be integrated directly into the database server. This allows development of complex behaviours which are decoupled from core InvenTree code. The InvenTree server code supports an extensible plugin architecture, allowing custom plugins to be integrated directly into the database server. This allows development of complex behaviours which are decoupled from core InvenTree code.
InvenTree plugins are located in the directory `./InvenTree/plugins/`. InvenTree builtin plugins are located in the directory `./InvenTree/plugin/builtin`.
Custom plugins should be placed in the directory `./InvenTree/plugins`.
Plugins are discovered and loaded when the server is started. Plugins are discovered and loaded when the server is started.
@ -54,4 +55,4 @@ POST {
} }
``` ```
For an example of a very simple action plugin, refer to `/InvenTree/plugins/action/action.py` For an example of a very simple action plugin, refer to `/InvenTree/plugin/builtin/action/simpleactionplugin.py`