https://github.com/nocomplexity/linkaudit
Linkaudit is a CLI tool to check for broken links in Sphinx or JupyterBook documents.
https://github.com/nocomplexity/linkaudit
jupyter-book jupyterbook myst rst sphinx-doc sphinx-extension
Last synced: 2 months ago
JSON representation
Linkaudit is a CLI tool to check for broken links in Sphinx or JupyterBook documents.
- Host: GitHub
- URL: https://github.com/nocomplexity/linkaudit
- Owner: nocomplexity
- License: gpl-3.0
- Created: 2025-04-05T14:27:36.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-10-16T10:00:36.000Z (8 months ago)
- Last Synced: 2025-12-15T12:09:14.165Z (6 months ago)
- Topics: jupyter-book, jupyterbook, myst, rst, sphinx-doc, sphinx-extension
- Language: Python
- Homepage: https://nocomplexity.com/documents/linkaudit
- Size: 137 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Security: docs/SECURITY.md
Awesome Lists containing this project
README
# Link Audit
[](https://github.com/nocomplexity/codeaudit)
[](https://pypi.org/project/linkaudit)
[](https://nocomplexity.com/documents/linkaudit)
[](https://github.com/nocomplexity/linkaudit/blob/main/LICENSE.md)
LinkAudit – Superfast, simple, and deadly accurate to find broken links in markdown.
This `linkaudit` tool has the following features:
* Shows all external links (aka URLs) for a Shpinx or JupyterBook. Output is saved.
* Validate status of all discoverd external links for a Sphinx or Jupyterbook document. Output is saved.
## Installation
```
pip install linkaudit
```
## Usage
Linkaudit is a CLI tool.
To get help just run `linkaudit` without arguments.
```shell
Linkaudit
Command : showlinks
Shows all URLs from MyST Markdown files in a directory and generates an HTML report.
Command : checklinks
Print txt tables of URLs checks of JB Book
Command : version
Prints the module version. Use [-v] [--v] [-version] or [--version].
Use linkaudit [COMMAND] --help for detailed help per command.
```
To use it on a documentation created for `Jupyterbook` or `Sphinx`:
To show links, do:
```
linkaudit showlinks [DIRECTORY_TO_SPHINX or JUPYERBOOK files]
```
To check links, do:
```
linkaudit checklinks [DIRECTORY_TO_SPHINX or JUPYERBOOK files]
```
## Documentation
Full documentation is available at [https://nocomplexity.com/documents/linkaudit](https://nocomplexity.com/documents/linkaudit)
## License
This tool is licensed GPL-3.0-or-later.