@power_session(python=[PY37])
def publish(session: PowerSession):
    'Deploy the docs+reports on github pages. Note: this rebuilds the docs'
    session.install_reqs(phase='mkdocs', phase_reqs=['mkdocs-material', 'mkdocs', 'pymdown-extensions', 'pygments'])
    session.run2('mkdocs build -f ./docs/mkdocs.yml')
    if (not Folders.site_reports.exists()):
        raise ValueError("Test reports have not been built yet. Please run 'nox -s tests-3.7' first")
    session.run2('mkdocs gh-deploy -f ./docs/mkdocs.yml')
Deploy the docs+reports on github pages. Note: this rebuilds the docs
@power_session(python=[PY37])
def publish(session: PowerSession):
    
    session.install_reqs(phase='mkdocs', phase_reqs=['mkdocs-material', 'mkdocs', 'pymdown-extensions', 'pygments'])
    session.run2('mkdocs build -f ./docs/mkdocs.yml')
    if (not Folders.site_reports.exists()):
        raise ValueError("Test reports have not been built yet. Please run 'nox -s tests-3.7' first")
    session.run2('mkdocs gh-deploy -f ./docs/mkdocs.yml')