solo-io / wasm

Web Assembly tools and SDKs for extending cloud-native infrastructure
Apache License 2.0
306 stars 40 forks source link

Wasme generated CLI Reference docs missing the trailing '/' causing 404s #242

Open Sodman opened 3 years ago

Sodman commented 3 years ago

The generated reference CLI docs for wasme have links which return 404s when linking to other command's pages.

The root cause here is that the links are generated relatively to the current page, and assume the current page has a trailing '/' on it. However, the destination of the links themselves does not have a trailing '/'. This means that the first link a user clicks on will work, but any links on that page will not work.

For example: https://docs.solo.io/web-assembly-hub/latest/reference/cli/wasme/ - the link to wasme build appears to work fine https://docs.solo.io/web-assembly-hub/latest/reference/cli/wasme - the link to wasme build returns a 404