1
0
Fork 0
forked from github/pelican

[DOC] register function missing

This commit is contained in:
Benjamin ABEL 2018-02-12 15:14:27 +01:00 committed by GitHub
commit 30a472a8a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -216,6 +216,7 @@ Adding a new generator is also really easy. You might want to have a look at
# define a new generator here if you need to
return MyGenerator
signals.get_generators.connect(get_generators)
def register():
signals.get_generators.connect(get_generators)
.. _pelican-plugins bug #314: https://github.com/getpelican/pelican-plugins/issues/314