json/doc/mkdocs/docs/hooks.py

8 lines
187 B
Python
Raw Normal View History

2020-05-24 19:03:04 +08:00
import shutil
import os.path
def copy_doxygen(*args, **kwargs):
shutil.copytree('../html', os.path.join(kwargs['config']['site_dir'], 'doxygen'))
print('Copy Doxygen complete')