Don't enforce the licence to be AGPL.

This commit is contained in:
Alexis Métaireau
2013-05-17 11:30:22 +10:00
parent a4df915490
commit 850db33263

View File

@@ -3,7 +3,7 @@ Contributing a plugin
Details of how to write a plugin is explained in the official Pelican `docs`_. Details of how to write a plugin is explained in the official Pelican `docs`_.
If you want to contribute, please fork this repository and issue your pull If you want to contribute, please fork this repository and issue your pull
request. Make sure that your plugin follows the structure below:: request. Make sure that your plugin follows the structure below::
my_plugin my_plugin
@@ -11,7 +11,7 @@ request. Make sure that your plugin follows the structure below::
├── my_plugin.py ├── my_plugin.py
├── test_my_plugin.py ├── test_my_plugin.py
└── Readme.rst / Readme.md └── Readme.rst / Readme.md
``my_plugin.py`` is the actual plugin implementation. Include a brief ``my_plugin.py`` is the actual plugin implementation. Include a brief
explanation of what the plugin does as a module docstring. Leave any further explanation of what the plugin does as a module docstring. Leave any further
@@ -19,12 +19,13 @@ explanations and usage details to ``Readme`` file.
``__init__.py`` should contain a single line with ``from .my_plugin import *``. ``__init__.py`` should contain a single line with ``from .my_plugin import *``.
Place tests for your plugin in the same folder with name ``test_my_plugin.py``. Place tests for your plugin in the same folder with name ``test_my_plugin.py``.
You can use ``test_data`` main folder, if you need content or templates in your tests. You can use ``test_data`` main folder, if you need content or templates in your tests.
**Note:** Plugins in the repository are licensed with *GNU AFFERO GENERAL PUBLIC LICENSE **Note:** Each plugin can contain a LICENSE file stating the license it's
Version 3*. By submitting a pull request, you accept to release your released under. If there is an absence of LICENSE then it defaults to the
contribution under same license. Please refer to the ``LICENSE`` file for *GNU AFFERO GENERAL PUBLIC LICENSE Version 3*.
full text of the license.
Please refer to the ``LICENSE`` file for the full text of the license.
.. _docs: http://docs.getpelican.com/en/latest/plugins.html#how-to-create-plugins .. _docs: http://docs.getpelican.com/en/latest/plugins.html#how-to-create-plugins