Skip to content

Commit

Permalink
doc: Fix markup and URL targets of wasm_of_ocaml docs
Browse files Browse the repository at this point in the history
The markup used Markdown syntax which didn't render correctly. Also, it
pointed to the old location of the compiler which still exists but
points to js_of_ocaml since it was merged into js_of_ocaml some months
ago.

Signed-off-by: Marek Kubica <marek@tarides.com>
  • Loading branch information
Leonidas-from-XIV committed Feb 21, 2025
1 parent 04f28da commit cdd0703
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions doc/wasmoo.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ Wasm Compilation With Wasm_of_ocaml
This is an how-to guide.
Wasm_of_ocaml_ is a compiler from OCaml to WebAssembly (Wasm for
short). The compiler works by translating OCaml bytecode to Wasm code.
The compiler can currently be installed from [its Github repository](https://github.com/ocaml-wasm/wasm_of_ocaml).
Wasm_of_ocaml is a compiler from OCaml to WebAssembly (Wasm for short). The
compiler works by translating OCaml bytecode to Wasm code. The compiler is
available in the `js_of_ocaml Github repository
<https://github.com/ocsigen/js_of_ocaml>`_.

Compiling to Wasm
=================
Expand Down Expand Up @@ -100,5 +101,3 @@ Wasm_of_ocaml can generate sourcemaps for the generated Wasm code.
By default, they are generated when using the ``dev`` build profile and are not generated otherwise.
The behavior can explicitly be specified in an ``env`` stanza (see :doc:`/reference/dune/env`)
or per executable inside ``(wasm_of_ocaml (sourcemap ...))`` (see :doc:`/reference/dune/executable`)

.. _wasm_of_ocaml: https://github.com/ocaml-wasm/wasm_of_ocaml

0 comments on commit cdd0703

Please # to comment.