From 330840338cd0c45f4083f0dc3140bd7e465da23a Mon Sep 17 00:00:00 2001 From: Jerin Philip Date: Tue, 1 Jun 2021 12:39:28 +0100 Subject: [PATCH] Including WASM documentation in sphinx build toc (#176) --- doc/index.rst | 1 + doc/wasm-example.md | 1 + wasm/README.md | 24 ++++++++++++++++-------- 3 files changed, 18 insertions(+), 8 deletions(-) create mode 120000 doc/wasm-example.md diff --git a/doc/index.rst b/doc/index.rst index 85bc7f1..5be3857 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -15,6 +15,7 @@ This is developer documentation. :caption: Contents: marian-integration + wasm-example api/library_index diff --git a/doc/wasm-example.md b/doc/wasm-example.md new file mode 120000 index 0000000..9188e93 --- /dev/null +++ b/doc/wasm-example.md @@ -0,0 +1 @@ +../wasm/README.md \ No newline at end of file diff --git a/wasm/README.md b/wasm/README.md index eceac15..01fea18 100644 --- a/wasm/README.md +++ b/wasm/README.md @@ -1,9 +1,17 @@ -## Using Bergamot Translator in JavaScript -The example file `bergamot.html` in the folder `test_page` demonstrates how to use the bergamot translator in JavaScript via a `