ntfy/docs/hooks.py

7 lines
165 B
Python
Raw Permalink Normal View History

import os
import shutil
def copy_fonts(config, **kwargs):
site_dir = config['site_dir']
shutil.copytree('docs/static/fonts', os.path.join(site_dir, 'get'))