1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Sat, 24 Sep 2022 07:54:58 +0200
Subject: Ignore inclusion of module material
There is right now no Python package that is providing a module
material, ignoring for now.
Forwarded: https://github.com/facelessuser/mkdocs-material-extensions/issues/18
---
materialx/emoji.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/materialx/emoji.py b/materialx/emoji.py
index 4a286a6..0c55660 100644
--- a/materialx/emoji.py
+++ b/materialx/emoji.py
@@ -9,20 +9,20 @@ import copy
import codecs
import functools
import inspect
-import material
+#import material
import pymdownx
from pymdownx.emoji import TWEMOJI_SVG_CDN, add_attriubtes
import xml.etree.ElementTree as etree # noqa: N813
OPTION_SUPPORT = pymdownx.__version_info__ >= (7, 1, 0)
-RESOURCES = os.path.dirname(inspect.getfile(material))
+#RESOURCES = os.path.dirname(inspect.getfile(material))
def _patch_index(options):
"""Patch the given index."""
icon_locations = options.get('custom_icons', [])[:]
- icon_locations.append(os.path.join(RESOURCES, '.icons'))
+ #icon_locations.append(os.path.join(RESOURCES, '.icons'))
return _patch_index_for_locations(tuple(icon_locations))
|