mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 11:28:20 +00:00
Remove .doctrees
This commit is contained in:
parent
81e2dac955
commit
9d36a5a3b0
@ -90,6 +90,7 @@ for version in ['1.0.0', '1.1.0', '2.0.0', '3.0.0']:
|
|||||||
include_dir = os.path.join(include_dir, 'fmt')
|
include_dir = os.path.join(include_dir, 'fmt')
|
||||||
build.build_docs(version, doc_dir=target_doc_dir,
|
build.build_docs(version, doc_dir=target_doc_dir,
|
||||||
include_dir=include_dir, work_dir=build_dir)
|
include_dir=include_dir, work_dir=build_dir)
|
||||||
|
shutil.rmtree(os.path.join(html_dir, '.doctrees'))
|
||||||
# Create symlinks for older versions.
|
# Create symlinks for older versions.
|
||||||
for link, target in {'index': 'contents', 'api': 'reference'}.items():
|
for link, target in {'index': 'contents', 'api': 'reference'}.items():
|
||||||
link = os.path.join(html_dir, link) + '.html'
|
link = os.path.join(html_dir, link) + '.html'
|
||||||
|
Loading…
Reference in New Issue
Block a user