def on_build_finished(app, exception):
if not app.config["<STR_LIT>"]:<EOL><INDENT>return<EOL><DEDENT>logger.info("<STR_LIT>")<EOL>for row in app.connection.execute("<STR_LIT>"):<EOL><INDENT>path, hits = row<EOL>if not hits:<EOL><INDENT>continue<EOL><DEDENT>logger.info(bold("<STR_LIT>"), nonl=True)<EOL>logger.info("<STR_LIT>".format(path, hits))<EOL><DEDENT>
Hooks into Sphinx's ``build-finished`` event.