-
-
Notifications
You must be signed in to change notification settings - Fork 749
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dependence on mkdocs-simple-hooks
Since mkdocs v1.4, the hooks are a native feature
- Loading branch information
1 parent
1d2b759
commit 99a0c72
Showing
3 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# The documentation uses 'mkdocs', which is written in Python | ||
mkdocs-material | ||
mkdocs-minify-plugin | ||
mkdocs-simple-hooks |