def METHOD_NAME(app):
    app.add_config_value('kerneldoc_bin', None, 'env')
    app.add_config_value('kerneldoc_srctree', None, 'env')
    app.add_config_value('kerneldoc_verbosity', 1, 'env')
    app.add_directive('kernel-doc', KernelDocDirective)
    return dict(
        version = __version__,
        parallel_read_safe = True,
        parallel_write_safe = True
    )