def METHOD_NAME(self, site):
    global OUTPUT_DIR, OUTPUT_URL_PATH
    directives.register_directive('ditaa', Ditaa)
    OUTPUT_DIR = site.config['DITAA_OUTPUT_FOLDER']
    OUTPUT_URL_PATH = site.config['DITAA_OUTPUT_URL_PATH']
    return super(Plugin, self).METHOD_NAME(site)