Remove dependence on mkdocs-simple-hooks

Since mkdocs v1.4, the hooks are a native feature
This commit is contained in:
Tom Hubrecht 2024-02-05 13:29:47 +01:00
parent 1d2b759dc0
commit 99a0c72d49
3 changed files with 7 additions and 7 deletions

View file

@ -1,6 +1,7 @@
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'))
def on_post_build(config, **kwargs):
site_dir = config["site_dir"]
shutil.copytree("docs/static/fonts", os.path.join(site_dir, "get"))