(verbose, pdf)
Build documentation.
Build documentation.
Build documentation .
def build(verbose, pdf):
    """Build documentation."""
    command = ['tox', '-e', 'docs', '--', 'build', '--clean', '--strict']
    insert_verbosity_flag(command, verbose)

    env_vars = {'ENABLE_PDF_SITE_EXPORT': '1' if pdf else '0'}

    with chdir(get_root(), env_vars=env_vars):
        process = subprocess.run(command)

    abort(code=process.returncode)
def build ( verbose , pdf ) : command = [ 'tox' , '-e' , 'docs' , '--' , 'build' , '--clean' , '--strict' ] insert_verbosity_flag ( command , verbose ) env_vars = { 'ENABLE_PDF_SITE_EXPORT' : '1' if pdf else '0' } with chdir ( get_root ( ) , env_vars = env_vars ) : process = subprocess . run ( command ) abort ( code = process . returncode )