@nox.session(name='docs-html', python='3')
@nox.parametrize('clean', [False, True])
@nox.parametrize('compress', [False, True])
def docs_html(session, compress, clean):
    "\n    Build Salt's HTML Documentation\n    "
    if _upgrade_pip_setuptools_and_wheel(session):
        requirements_file = os.path.join('requirements', 'static', 'ci', _get_pydir(session), 'docs.txt')
        install_command = ['--progress-bar=off', '-r', requirements_file]
        session.install(*install_command, silent=PIP_INSTALL_SILENT)
    os.chdir('doc/')
    if clean:
        session.run('make', 'clean', external=True)
    session.run('make', 'html', 'SPHINXOPTS=-W', external=True)
    if compress:
        session.run('tar', '-cJvf', 'html-archive.tar.xz', '_build/html', external=True)
    os.chdir('..')
Build Salt's HTML Documentation
@nox.session(name='docs-html', python='3')
@nox.parametrize('clean', [False, True])
@nox.parametrize('compress', [False, True])
def docs_html(session, compress, clean):
    "\n    \n    "
    if _upgrade_pip_setuptools_and_wheel(session):
        requirements_file = os.path.join('requirements', 'static', 'ci', _get_pydir(session), 'docs.txt')
        install_command = ['--progress-bar=off', '-r', requirements_file]
        session.install(*install_command, silent=PIP_INSTALL_SILENT)
    os.chdir('doc/')
    if clean:
        session.run('make', 'clean', external=True)
    session.run('make', 'html', 'SPHINXOPTS=-W', external=True)
    if compress:
        session.run('tar', '-cJvf', 'html-archive.tar.xz', '_build/html', external=True)
    os.chdir('..')