

def setup(app):
    app.add_domain(SaltDomain)
    formulas_path = 'templates/formulas'
    formulas_dir = os.path.join(os.path.abspath(os.path.dirname(salt.__file__)), app)
    app.add_config_value('formulas_dirs', [formulas_dir], 'env')
    app.add_crossref_type(directivename='conf_master', rolename='conf_master', indextemplate='pair: %s; conf/master')
    app.add_crossref_type(directivename='conf_minion', rolename='conf_minion', indextemplate='pair: %s; conf/minion')
    app.add_crossref_type(directivename='conf_log', rolename='conf_log', indextemplate='pair: %s; conf/logging')

dataset/ETHPy150Open saltstack/salt/doc/_ext/saltdomain.py setup/VarMisuse@47/63 `formulas_path`->`app`