From 9fd4c9e4debc7b6b91f8537af8fb414a7ca10ca9 Mon Sep 17 00:00:00 2001 From: Nat Kershaw Date: Mon, 27 Sep 2021 14:16:50 -0700 Subject: [PATCH] Add more spaces --- docs/build/web.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/build/web.md b/docs/build/web.md index 6f74ef72c0205..867dc58afbafb 100644 --- a/docs/build/web.md +++ b/docs/build/web.md @@ -109,32 +109,32 @@ Q: unittest fails on Debug build with debug info. You can either use the prebuilt artifacts or build it by yourself. - - Setup by script. + * Setup by script. In `/js/web/`, run `npm run pull:wasm` to pull WebAssembly artifacts for latest master branch from CI pipeline. - - Download artifacts from pipeline manually. + * Download artifacts from pipeline manually. You can download prebuilt WebAssembly artifacts from [Windows WebAssembly CI Pipeline](https://dev.azure.com/onnxruntime/onnxruntime/_build?definitionId=161&_a=summary). Select a build, download artifact "Release_wasm" and unzip. See instructions below to put files into destination folders. - - Build WebAssembly artifacts. + * Build WebAssembly artifacts. - 1. Build ONNX Runtime WebAssembly + 1. Build ONNX Runtime WebAssembly - Follow [instructions above](#build-onnx-runtime-for-webassembly) for building ONNX Runtime WebAssembly. + Follow [instructions above](#build-onnx-runtime-for-webassembly) for building ONNX Runtime WebAssembly. - 2. Copy following files from build output folder to `/js/web/dist/` (create the folder if it does not exist): + 2. Copy the following files from build output folder to `/js/web/dist/` (create the folder if it does not exist) - * ort-wasm.wasm - * ort-wasm-threaded.wasm (build with flag '--enable_wasm_threads') - * ort-wasm-simd.wasm (build with flag '--enable_wasm_simd') - * ort-wasm-simd-threaded.wasm (build with flags '--enable_wasm_threads --enable_wasm_simd') + * ort-wasm.wasm + * ort-wasm-threaded.wasm (build with flag '--enable_wasm_threads') + * ort-wasm-simd.wasm (build with flag '--enable_wasm_simd') + * ort-wasm-simd-threaded.wasm (build with flags '--enable_wasm_threads --enable_wasm_simd') - 3. Copy following files from build output folder to `/js/web/lib/wasm/binding/`: + 3. Copy the following files from build output folder to `/js/web/lib/wasm/binding/`: - * ort-wasm.js - * ort-wasm-threaded.js (build with flag '--enable_wasm_threads') - * ort-wasm-threaded.worker.js (build with flag '--enable_wasm_threads') + * ort-wasm.js + * ort-wasm-threaded.js (build with flag '--enable_wasm_threads') + * ort-wasm-threaded.worker.js (build with flag '--enable_wasm_threads') 3. Use the following command in folder `/js/web` to build: