diff --git a/noxfile.py b/noxfile.py index 37da6e1..e42cac1 100644 --- a/noxfile.py +++ b/noxfile.py @@ -34,6 +34,9 @@ def mypy(session): @nox.session(reuse_venv=True) def test(session): """Run all the test using the environment varialbe of the running machine.""" - session.install("--verbose", ".[test]") - # session.run("pytest", "--color=yes", "--cov", "--cov-report=html", *test_files) - session.run("sphinx-build", "--bug-report") + session.install(".[test]") + session.install( + "git+https://github.com/12rambau/sphinx.git@27cb8ead601299e0fba8a98a298ddffc0c482812" + ) + test_files = session.posargs or ["tests"] + session.run("pytest", "--color=yes", "--cov", "--cov-report=xml", *test_files) 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" + } } } }