import os
import shutil
from yank import version

if version.release:
    docversion = version.version
else:
    docversion = 'latest'

os.mkdir("docs/_deploy")
shutil.copytree("docs/_build/html", "docs/_deploy/{docversion}"
                .format(docversion=docversion))
import os
import shutil
from yank import version

if version.release:
    docversion = version.version
else:
    docversion = 'latest'

os.mkdir("docs/_deploy")
shutil.copytree("docs/_build", "docs/_deploy/{docversion}"
                .format(docversion=docversion))
Set the correct doc build dir to copy
Set the correct doc build dir to copy
