Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def register():
signals.initialized.connect(init)
try:
signals.all_generators_finalized.connect(run_plugin)
except AttributeError:
# NOTE: This may result in #314 so shouldn't really be relied on
# https://github.com/getpelican/pelican-plugins/issues/314
signals.content_object_init.connect(clean_summary)
def register():
signals.initialized.connect(initialize_parser)
try:
signals.all_generators_finalized.connect(run_read_time)
except Exception as e:
raise "ReadTime Plugin: Error during 'register' process: {}".format(str(e))
def register():
signals.initialized.connect(pelican_initialized)
signals.all_generators_finalized.connect(pelican_all_generators_finalized)
def register():
"""Plugin registration"""
signals.initialized.connect(pelican_init)
signals.all_generators_finalized.connect(process_rst_and_summaries)
def register():
"""Plugin registration"""
signals.initialized.connect(pelican_init)
# repeated
signals.all_generators_finalized.connect(process_rst_and_summaries)