How to use the pelican.signals.initialized.connect 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 barrysteyn / pelican_plugin-render_math / render_math.py View on Github external
def register():
    """Plugin registration"""
    signals.initialized.connect(pelican_init)
    # repeated
    signals.all_generators_finalized.connect(process_rst_and_summaries)
github streeter / pelican-gist / pelican_gist / plugin.py View on Github external
def register():
    """Plugin registration."""
    from pelican import signals

    signals.initialized.connect(setup_gist)

    signals.article_generator_finalized.connect(replace_gist_tags)
github mosra / m.css / plugins / m / images.py View on Github external
def register(): # for Pelican
    import pelican.signals

    pelican.signals.initialized.connect(_pelican_configure)
github mosra / 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 mindcruzer / pelican-encrypt-content / encrypt_content / encrypt_content.py View on Github external
def register():
    signals.initialized.connect(pelican_initialized)
    signals.all_generators_finalized.connect(pelican_all_generators_finalized)