How to use the pelican.signals.get_generators function in pelican

To help you get started, we’ve selected a few pelican examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DIPlib / diplib / doc / m.css / plugins / m / alias.py View on Github external
def register():
    # TODO: why `lambda generators: AliasGenerator` doesn't work?
    signals.get_generators.connect(get_generators)
github AlexJF / pelican-entities / entities.py View on Github external
def register():
    signals.get_generators.connect(get_generators)
github iksteen / pelican-albums / pelican_albums / __init__.py View on Github external
def register():
    signals.initialized.connect(initialized)
    signals.get_generators.connect(generator.get_generators)
    signals.content_object_init.connect(content.update_content)
    signals.finalized.connect(thumbnails.generate_thumbnails)
github hackncast / hackncast / .plugins / pelican-podcast-feed / pelican_podcast_feed.py View on Github external
def register():
    """Registers the module function `get_generators`."""
    signals.get_generators.connect(get_generators)
github mosra / m.css / plugins / m / alias.py View on Github external
def register(): # for Pelican
    import pelican.signals

    pelican.signals.get_generators.connect(_pelican_get_generators)
github grupydf / grupydf.github.io / .plugins / sitemap / sitemap.py View on Github external
def register():
    signals.get_generators.connect(get_generators)
github Nitron / pelican-alias / pelican_alias.py View on Github external
def register():
    signals.get_generators.connect(get_generators)
github magnunleno / pelican-podcast-feed / pelican_podcast_feed.py View on Github external
def register():
    """Registers the module function `get_generators`."""
    signals.get_generators.connect(get_generators)
github cmacmackin / scribbler / scribbler / tipue_search / tipue_search.py View on Github external
def register():
    signals.get_generators.connect(get_generators)
github mawenbao / pelican-blog-content / plugins / sitemap / sitemap.py View on Github external
def register():
    signals.get_generators.connect(get_generators)