An open API service indexing awesome lists of open source software.

https://github.com/nottherealwallyx/linksentinel

Scan Markdown and reStructuredText docs for broken links. CLI tool and GitHub Action for automated link checking.
https://github.com/nottherealwallyx/linksentinel

ci-cd cli documentation github-actions link-checker linting markdown open-source python restructuredtext

Last synced: about 2 months ago
JSON representation

Scan Markdown and reStructuredText docs for broken links. CLI tool and GitHub Action for automated link checking.

Awesome Lists containing this project

README

          

# LinkSentinel

LinkSentinel is a GitHub Action and CLI tool that scans your Markdown (.md) and reStructuredText (.rst) documentation files for dead links and reports them in your CI workflow.

## Features

- Detect broken external links (HTTP errors, timeouts, etc.)
- Supports `.md` and `.rst` formats
- Easy GitHub Action integration for CI/CD pipelines
- Clear reporting of broken links with file paths

## Usage

### As CLI

```bash
pip install requests
python link_validator.py ./docs
```

Or, if installed as a package or running from the project root:

```bash
python -m linksentinel ./docs
```

### As GitHub Action

```yaml
uses: NotTheRealWallyx/LinkSentinel@v1.0.0
with:
path: './docs'
```

## Why LinkSentinel?

Documentation quality is critical, especially for large open-source projects.
LinkSentinel helps ensure your docs don’t have dead links, improving user experience and reducing frustration.

---

## License

This project is licensed under the GNU GPL v3.