Skip to content

🚨 | A light link checker, no more broken link in your quality project documentation.

License

Notifications You must be signed in to change notification settings

tomdot-dev/404-links

 
 

Repository files navigation

404-links

A light link checker, no more broken link in your quality project documentation. (support only markdown)

Table of Contents

About

A part of a good developer experience is to ensure that the documentation is accurate. Since most of the repositories depend on different website to get additional detail. This Github action will support you to validate all the links includes in your documentation.

The developer experience (DX) should be a part of the Product Quality Assurance

Versions

Github Action

If you want to use the script on github action:

  1. Create a new file in your repository : .github/workflows/markdown-lint.yml
  2. Copy paste the informations in your .github/workflows/markdown-lint.yml:
name: Markdown lint

on: [push]

jobs:
  check-links:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: 'restqa-404-links'
      uses: restqa/404-links@2.2.0

Customize the linting

In order to customize the linter, you will need to create a .404-links.yml configuration file at the root level of your project. Then you can add the following options into the file:

folder: docs/ # The folder that required to be parsed
ignore: 
  urls: # Array of url to ignore
    - https://github.com 
    - https://broken/* # wildcard allows
  files: # Array of markdown file the shouldn't parse
    - ./test.md # Relative path from the folder shared above
delay:
  'https://gitlab.com': 500 # Perform a pause of 500ms at each call matching the url

Do you know RestQA ?

RestQA is an open automation framework based on Gherkin. A few step and your Test automation framework is setup. No dependency the framework is ready to be plug to all your project components Give a try 🚀

References

Keywords

  • test automation
  • Gherkin
  • Cucumber
  • End to End
  • E2E
  • Quality assurance
  • QA
  • Continuous integration
  • RestQa

License

MIT License

About

🚨 | A light link checker, no more broken link in your quality project documentation.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.0%
  • Dockerfile 3.0%