wabt icon indicating copy to clipboard operation
wabt copied to clipboard

wasm-decompile link in README is broken

Open ngzhian opened this issue 5 years ago • 4 comments

On main page: https://github.com/WebAssembly/wabt the link to wasm-decompile doc is broken https://webassembly.github.io/wabt/doc/wasm-decompile.1.html I think it is missing from https://github.com/WebAssembly/wabt/tree/master/docs/doc

ngzhian avatar May 15 '20 23:05 ngzhian

Sounds like something needs to be regenerated from the man pages? The source is here: https://github.com/WebAssembly/wabt/tree/master/man Where is the script for this? I see nothing in scripts.. @binji?

aardappel avatar May 16 '20 01:05 aardappel

There are quite a few tools to convert man pages to html, but tbh I don't know which one was used here. I tried groff, man2html, and pandoc, but all of them seem to generate different html than the ones here. Any other ideas?

binji avatar May 16 '20 20:05 binji

I got pretty close with https://mandoc.bsd.lv/, it was missing hyperlinks to the other tools, and also some css class changes, which I think has to do with the version of mandoc I was using. Update: mandoc -T html man/wasm2wat.1 -O man='%N.%S.html' gets the right hyperlinks to other tools.

ngzhian avatar Dec 08 '20 13:12 ngzhian

Maybe add that as a script?

aardappel avatar Dec 10 '20 17:12 aardappel

Fixed in #1592

keithw avatar Sep 18 '22 06:09 keithw