From a3b0eb65894fce009a836ef3d787c48ce45632b4 Mon Sep 17 00:00:00 2001 From: Alexandre Lissy Date: Thu, 4 Jun 2020 09:47:56 +0200 Subject: [PATCH] Install npm deps for RTD --- doc/conf.py | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/conf.py b/doc/conf.py index 3557c586..b95d4c96 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -29,6 +29,7 @@ autodoc_mock_imports = ['deepspeech'] read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True' if read_the_docs_build: import subprocess + subprocess.call('cd ../ && npm install typedoc@0.17.4 typescript@3.8.3 @types/node@13.9.x', shell=True) subprocess.call('cd ../ && doxygen doc/doxygen-c.conf', shell=True) subprocess.call('cd ../ && doxygen doc/doxygen-java.conf', shell=True) subprocess.call('cd ../ && doxygen doc/doxygen-dotnet.conf', shell=True)