mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-12 06:37:28 +00:00
Update release script
This commit is contained in:
parent
5386f1df20
commit
6dcc526d5b
@ -152,7 +152,9 @@ def update_site(env):
|
|||||||
if os.path.exists(html_dir):
|
if os.path.exists(html_dir):
|
||||||
shutil.rmtree(html_dir)
|
shutil.rmtree(html_dir)
|
||||||
include_dir = env.fmt_repo.dir
|
include_dir = env.fmt_repo.dir
|
||||||
if LooseVersion(version) >= LooseVersion('3.0.0'):
|
if LooseVersion(version) >= LooseVersion('5.0.0'):
|
||||||
|
include_dir = os.path.join(include_dir, 'include', 'fmt')
|
||||||
|
elif LooseVersion(version) >= LooseVersion('3.0.0'):
|
||||||
include_dir = os.path.join(include_dir, 'fmt')
|
include_dir = os.path.join(include_dir, 'fmt')
|
||||||
import build
|
import build
|
||||||
build.build_docs(version, doc_dir=target_doc_dir,
|
build.build_docs(version, doc_dir=target_doc_dir,
|
||||||
|
Loading…
Reference in New Issue
Block a user