volkamerlab / teachopencadd

TeachOpenCADD: a teaching platform for computer-aided drug design (CADD) using open source packages and data
https://projects.volkamerlab.org/teachopencadd
Creative Commons Attribution 4.0 International
757 stars 202 forks source link

Docs CI fails #333

Closed mbackenkoehler closed 1 year ago

mbackenkoehler commented 1 year ago

Currently, the Docs CI fails on the Sphinx 404 checks. Take this one, for example.

image

@dominiquesydow Any ideas for a quick fix?

dominiquesydow commented 1 year ago

Hi @mbackenkoehler,

It seems like the URL checker that we have been using here (broken-link-checker) is no longer maintained:

npm WARN exec The following package was not found and will be installed: broken-link-checker@0.7.8
npm WARN deprecated calmcard@0.1.1: no longer maintained
npm WARN deprecated nopter@0.3.0: try optionator
npm WARN deprecated urlobj@0.0.11: use universal-url, minurl, relateurl, url-relation
npm WARN deprecated uuid@2.0.3: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
Error: Unhandled Rejection. Error: connect ECONNREFUSED ::1:8000
Error: Process completed with exit code 1.

Could you please try either the proposed package in the error message --- or try ´linkinator´ which we are using for our lab website: https://github.com/volkamerlab/volkamerlab_org/blob/482d6cb15f4406c1b1863123efe8d5b294c1f7cd/.github/workflows/ci.yaml#L33

mbackenkoehler commented 1 year ago

I switched to linkinator. This seems to work fine. (see #335 )

However, there are a quite a few dead links right now. I will open an separate issue for that.

mbackenkoehler commented 1 year ago

Broken links are collected in #336

mbackenkoehler commented 1 year ago

Docs CI fixed.