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(): # for Pelican
import pelican.signals
pelican.signals.initialized.connect(_pelican_configure)
pelican.signals.content_object_init.connect(new_page)
def register(): # for Pelican
import pelican.signals
pelican.signals.initialized.connect(_pelican_configure)
def register(): # for Pelican
import pelican.signals
pelican.signals.initialized.connect(_pelican_configure)
def register(): # for Pelican
import pelican.signals
pelican.signals.initialized.connect(_pelican_configure)
def register():
signals.initialized.connect(add_jinja2_ext)
signals.finalized.connect(find_missing_images)
signal("autostatic_path_found").connect(autostatic_path_found)
def register():
"""
Register the new "ipynb" reader
"""
def add_reader(arg):
arg.settings["READERS"]["ipynb"] = ipynbReader
signals.initialized.connect(add_reader)
def register():
signals.initialized.connect(init_default_config)
signals.content_object_init.connect(bootstrapify)
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(init_default_config)
signals.article_generator_finalized.connect(generate_pdf_resume)
def register():
import pelican.signals
pelican.signals.initialized.connect(_configure_pelican)
pelican.signals.finalized.connect(save_cache)
pelican.signals.content_object_init.connect(new_page)