def METHOD_NAME(app):
    """ Register hxtool-doc directive with Sphinx"""
    app.add_config_value('hxtool_srctree', None, 'env')
    app.add_directive('hxtool-doc', HxtoolDocDirective)
    return dict(
        version = __version__,
        parallel_read_safe = True,
        parallel_write_safe = True
    )