def setup()

in cpp/ext/recipeext.py [0:0]


def setup(app):

    recipe_outputs_path = locate_latest_recipe_outputs()
    logger.info(f'Located recipes file: {recipe_outputs_path}')

    load_recipe_output(recipe_outputs_path)

    app.add_directive('recipe', RecipeDirective)

    return {
        'version': '0.1',
        'parallel_read_safe': True,
        'parallel_write_safe': True,
    }