Merge pull request #2290 from benjaminabel/patch-1

Register function missing in docs
This commit is contained in:
Justin Mayer 2018-03-18 00:25:29 +01:00 committed by GitHub
commit 8cb88e91ee
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