breatheco-de / main-documentation

This repository servers like an aggregator everything that is being developed and publish in breathecode.
7 stars 18 forks source link

Create a test script that checks for broken links all the markdown files #24

Closed alesanchezr closed 4 years ago

alesanchezr commented 6 years ago

This repository will contain a lot of markdown documents and maybe some json or txt files.

We need a small script in any language that you like that scraps all the files and checks for broken links (404).

This task is not hard, the script will take no more than 100 lines, maybe it can be done in 5 lines depending on the programming language.

We will use the small script to automate the deployment of new manuals.

If you know PHP

I know this library does the job and here is a sample script that actually used it.

Note: There other libraries in other languages if you search for "broken link checker" or something like that.

kryptorado commented 6 years ago

Can I work on this? Also, should the script search the text and json files or just the markdown?

alesanchezr commented 6 years ago

@kryptorado hey man, yes you can work on this.

Markdown and json will be enough. Thanks!

AJ-54 commented 5 years ago

Hey @alesanchezr , I would like to work on these . Question : I will write in python , i want to know how to import the files in my code on which i need to perform tests.

ashkankamyab commented 4 years ago

@alesanchezr Hi, is this issue still open? I would like to contribute if there is a spot for me.

alesanchezr commented 4 years ago

No man, this is done, thanks for offering! :)