diff --git a/.gitignore b/.gitignore index 61d5475..d978e4e 100644 --- a/.gitignore +++ b/.gitignore @@ -4,10 +4,7 @@ /build /dist /node_modules -/tests/source/docs/_build -/tests/test_build_js/source/_build -/tests/test_build_js/source/docs/_build -/tests/test_build_ts/source/docs/_build +_build sphinx_js.egg-info/ # Python 3 */__pycache__/* diff --git a/sphinx_js/typedoc.py b/sphinx_js/typedoc.py index 7b90308..57720e7 100644 --- a/sphinx_js/typedoc.py +++ b/sphinx_js/typedoc.py @@ -67,9 +67,7 @@ def typedoc_output( env = os.environ.copy() env["TYPEDOC_NODE_MODULES"] = str(Path(typedoc).parents[3].resolve()) command = Command("npx") - # tsx v4.9.1 seems to break us for some reason. - # TODO: figure out why - command.add("tsx@4.9.0") + command.add("tsx") dir = Path(__file__).parent.resolve() / "js" command.add("--tsconfig", str(dir / "tsconfig.json")) command.add("--import", str(dir / "registerImportHook.mjs"))