How to use the pelican.signals 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 / htmlsanity.py View on Github external
def register(): # for Pelican
    pelican.signals.initialized.connect(_pelican_configure)
    pelican.signals.readers_init.connect(_pelican_add_reader)
github mortada / pelican_javascript / pelican_javascript.py View on Github external
def register():
    """
    Plugin registration
    """
    signals.article_generator_context.connect(add_files)
    signals.page_generator_context.connect(add_files)
    signals.article_generator_finalized.connect(move_resources)