2018-12-25 19:09:41 +01:00
|
|
|
==================
|
|
|
|
Developing plugins
|
|
|
|
==================
|
2018-12-25 10:32:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
Creating a repository of plugins
|
|
|
|
--------------------------------
|
2018-12-21 15:13:33 +01:00
|
|
|
|
2018-12-21 15:19:28 +01:00
|
|
|
Create a repository, for example :file:`qp_plugins_user`, hosted somewhere
|
|
|
|
(GitLab, GitHub, etc...), and clone the repository in the
|
|
|
|
:file:`$QP_ROOT/plugins` directory.
|
|
|
|
|
2018-12-21 15:13:33 +01:00
|
|
|
|
2018-12-25 10:32:28 +01:00
|
|
|
Creating new plugins
|
|
|
|
--------------------
|
|
|
|
|
|
|
|
To create a new plugin named :file:`my_plugin` in this repository, run::
|
|
|
|
|
|
|
|
qp_plugins create -n my_plugin -r qp_plugins_user
|
|
|
|
|
|
|
|
|
|
|
|
Now, the plugin needs to be installed to be compiled::
|
|
|
|
|
|
|
|
qp_plugins install my_plugin
|
2018-12-21 15:13:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
|