vatlab / vat-docs

Documentation for Variant Tools.
https://vatlab.github.io/vat/
4 stars 0 forks source link

scan for dead links #27

Open HenryLeongStat opened 6 years ago

HenryLeongStat commented 6 years ago

https://github.com/vatlab/sos-docs/blob/master/development/update-website

We can copy this script and adapt its use of blc here to check the vat-docs site.

BingLi17 commented 6 years ago

fixed

BoPeng commented 6 years ago

Is there any deadlink? Please copy the blc report here.

BingLi17 commented 6 years ago

How to scan the links for all pages? Just checked the links on Homepage.

BoPeng commented 6 years ago

You can consult the update_website script, which grabs the filenames from local directory and test the online version. You can actually write a similar script to test link and publish pages etc.

BingLi17 commented 6 years ago

Please find the attached result. I used this website https://www.xml-sitemaps.com/ to get all children urls and blc command to check broken links. Here is the result after fixing broken links due to my mistake. blc-result.txt

BoPeng commented 6 years ago

We should make this activities repeatable so that we can check deadlines regularly. Please create a development directory and write a sos script similar to update_website to check deadlinks.

hsiaoyi0504 commented 4 years ago

I am not sure if your group has resolved this issue. Here are two examples that might be helpful.

https://github.com/hsiaoyi0504/awesome-cheminformatics/commit/3aae8beaf4d8a2dfeed1999335322ab81bed6a3c

https://github.com/NAL-i5K/GFF3toolkit/blob/ca17b60a44a4a872ef2073c9aeaaf6d483921f4c/.travis.yml#L34-L39

BoPeng commented 4 years ago

Thanks! We use blc as an optional action during the generation of the website

https://github.com/vatlab/sos-docs/blob/107814af483d5e86766b4023c65b84f16a83ff18/development/update-website#L115

But I agree that continuous integration is a much better way to achieve this.

Let me see if I can get this set up.