mirror of
https://gitlab.com/hashborgir/d2tweaks-rnd2k.git
synced 2024-12-04 06:35:59 +00:00
11 lines
334 B
Python
11 lines
334 B
Python
|
import shutil
|
||
|
import os.path
|
||
|
|
||
|
|
||
|
def copy_doxygen(*args, **kwargs):
|
||
|
doxygen_dir = os.path.join(kwargs['config']['site_dir'], 'doxygen')
|
||
|
if not os.path.isdir(doxygen_dir) or not os.listdir(doxygen_dir):
|
||
|
print('Copy Doxygen files...')
|
||
|
shutil.copytree('../html', doxygen_dir)
|
||
|
print('Copy Doxygen complete')
|