Skip to content

Commit 81ce42a

Browse files
authored
Update conf.py
1 parent ed6b7f1 commit 81ce42a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@
5353
command = 'mkdir {0}/build; cd {0}/build; cmake ../ -DClang_DIR=/usr/lib/llvm-16/build/lib/cmake/clang\
5454
-DLLVM_DIR=/usr/lib/llvm-16/build/lib/cmake/llvm -DCPPINTEROP_ENABLE_DOXYGEN=ON\
5555
-DCPPINTEROP_INCLUDE_DOCS=ON'.format(CPPINTEROP_ROOT)
56-
subprocess.call(command, shell=True)
57-
subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True)
58-
subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True)
59-
subprocess.call('git clone https://github.com/emscripten-core/emsdk.git {0}/emsdk;
56+
command_emscripten = 'git clone https://github.com/emscripten-core/emsdk.git {0}/emsdk;
6057
{0}/emsdk/emsdk install 3.1.73;
6158
{0}/emsdk/emsdk activate 3.1.73;
6259
source {0}/emsdk/emsdk_env.sh;
@@ -132,5 +129,8 @@
132129
micromamba create -n xeus-lite-host jupyterlite-core -c conda-forge;
133130
micromamba activate xeus-lite-host;
134131
python -m pip install jupyterlite-xeus jupyter_server;
135-
jupyter lite build --XeusAddon.prefix=$PREFIX --contents xeus-cpp/notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav --output-dir $READTHEDOCS_OUTPUT/html/xeus-cpp;
136-
'.format(CPPINTEROP_ROOT), shell=True)
132+
jupyter lite build --XeusAddon.prefix=$PREFIX --contents xeus-cpp/notebooks/xeus-cpp-lite-demo.ipynb --contents notebooks/smallpt.ipynb --contents notebooks/images/marie.png --contents notebooks/audio/audio.wav --output-dir $READTHEDOCS_OUTPUT/html/xeus-cpp; '.format(CPPINTEROP_ROOT)
133+
subprocess.call(command, shell=True)
134+
subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True)
135+
subprocess.call('doxygen {0}/build/docs/doxygen.cfg'.format(CPPINTEROP_ROOT), shell=True)
136+
subprocess.call(command_emscripten.format(CPPINTEROP_ROOT), shell=True)

0 commit comments

Comments
 (0)