05 Dec 2019 16:29:44 UTC
- Distribution: Statocles
- Module version: 0.096
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (115)
- Testers (142 / 103 / 5)
- KwaliteeBus factor: 1
- % Coverage
- License: perl_5
- Perl: v5.14.0
- Activity24 month
- Download (484.34KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:10 non-PAUSE usersPREACTION 💯 Doug Bell
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- COPYRIGHT AND LICENSE
Statocles::Plugin::LinkCheck - Check links and images for validity during build
# site.yml site: class: Statocles::Site args: plugins: link_check: $class: Statocles::Plugin::LinkCheck
This plugin checks all of the links and images to ensure they exist. If something is missing, this plugin will write a warning to the screen. If fatal is set to true, it will also call
If set to true, and there are any broken links, the plugin will also call
die()after printing the problems. Defaults to false.
An array of URL patterns to ignore. These are interpreted as regular expressions, and are anchored to the beginning of the URL.
/broken will match "/broken.html" "/broken/page.html" but not "/page/broken" .*/broken will match "/broken.html" "/broken/page.html" and "/page/broken"
$plugin->check_pages( $event );
Check the pages inside the given Statocles::Event::Pages event.
Register this plugin to install its event handlers. Called automatically.
Doug Bell <firstname.lastname@example.org>
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.