golemcloud / docs

Golem Cloud Documentation
https://learn.golem.cloud
11 stars 9 forks source link

Automated link checking in documentation #90

Closed afsalthaj closed 2 weeks ago

afsalthaj commented 2 weeks ago

The main true positive wrong links are related to


  ERROR: 1 dead links found!

FILE: src/pages/docs/rib.mdx
  [✖] concepts/woker-gateway.mdx
  [✓] https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasm-wave

  2 links checked.
  [✖] concepts/woker-gateway.mdx → Status: 400

(node:68424) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

  ERROR: 1 dead links found!

Error: Command failed: markdown-link-check src/pages/docs/rib.mdx
(node:68424) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

  ERROR: 1 dead links found!

    at genericNodeError (node:internal/errors:983:15)
    at wrap

TODO

The check-links.js file now links to only rib as you can see, but I used wildcard to fix all the links initially, and then just narrowed it down to rib module, because for public links its flaky. I will see what I can do. If it takes time, I would like to just merge this

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2024 0:59am
afsalthaj commented 2 weeks ago

@noise64 There are a few broken links, mainly usages of worker-to-worker instead of rpc.

Currently js is pointed to just a specific file to see if whole set up works, and it works.

I also need to make markdown-link-checker happy by giving relative paths, along with fixes. Once that is done, plus, fixing all the links, I will merge