diff --git a/sphinxcontrib/icon/__init__.py b/sphinxcontrib/icon/__init__.py index d3f2e6c..30d1922 100644 --- a/sphinxcontrib/icon/__init__.py +++ b/sphinxcontrib/icon/__init__.py @@ -22,7 +22,6 @@ def setup(app: Sphinx) -> Dict[str, Any]: font_handler = Fontawesome() # install html related files - raise Exception(str(font_handler.css_file.resolve())) app.add_css_file(str(font_handler.css_file.resolve())) app.add_js_file(str(font_handler.js_file.resolve())) diff --git a/sphinxcontrib/icon/package-lock.json b/sphinxcontrib/icon/package-lock.json index db4b2c9..3931fac 100644 --- a/sphinxcontrib/icon/package-lock.json +++ b/sphinxcontrib/icon/package-lock.json @@ -1,12 +1,22 @@ { "name": "sphinxcontrib-icon", + "lockfileVersion": 3, "requires": true, - "lockfileVersion": 1, - "dependencies": { - "@fortawesome/fontawesome-free": { + "packages": { + "": { + "name": "sphinxcontrib-icon", + "dependencies": { + "@fortawesome/fontawesome-free": "6.3.0" + } + }, + "node_modules/@fortawesome/fontawesome-free": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-6.3.0.tgz", - "integrity": "sha512-qVtd5i1Cc7cdrqnTWqTObKQHjPWAiRwjUPaXObaeNPcy7+WKxJumGBx66rfSFgK6LNpIasVKkEgW8oyf0tmPLA==" + "integrity": "sha512-qVtd5i1Cc7cdrqnTWqTObKQHjPWAiRwjUPaXObaeNPcy7+WKxJumGBx66rfSFgK6LNpIasVKkEgW8oyf0tmPLA==", + "hasInstallScript": true, + "engines": { + "node": ">=6" + } } } }