module LinkChecker

Overview

Link checker for validating in-site links

Scans HTML files in the output directory and verifies that all in-site links point to existing files.

Defined in:

link_checker.cr

Class Method Summary

Class Method Detail

def self.check_all(output_dir : String = "output") : Array(LinkResult) #

Check all HTML files in the output directory


[View source]
def self.check_file(html_path : String, existing_files : Set(String)) : Array(LinkResult) #

Check links in a single HTML file


[View source]
def self.print_summary(results : Array(LinkResult)) #

Print summary of link check results


[View source]