def intersphinx(args): c = fetch_config(args) with BuildApp.context(c) as app: if c.runstate.clean_generated is True: intersphinx_clean(c, app) else: intersphinx_tasks(c, app)
def intersphinx(args): c = fetch_config(args) app = BuildApp(c) if c.runstate.clean_generated is True: intersphinx_clean(c, app) else: intersphinx_tasks(c, app) app.run()
def intersphinx(args): c = fetch_config(args) with BuildApp.new(pool_type=c.runstate.runner, pool_size=c.runstate.pool_size, force=c.runstate.force).context() as app: if c.runstate.clean_generated is True: app.extend_queue(intersphinx_clean(c)) else: app.extend_queue(intersphinx_tasks(c))