module

LinkChecker

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.

Class methods

check_all(output_dir : String = "output", exclude : Array(String) = [] of String) : Array(LinkResult)

Check all HTML files in the output directory

Source
check_file(html_path : String, existing_files : Set(String)) : Array(LinkResult)

Check links in a single HTML file

Source
output_dir

Directory the checked HTML lives in; links resolve against it. check_all sets it from its argument (normalized, no trailing slash) so custom output directories work; check_file callers that bypass check_all can set it directly.

Source
output_dir=(output_dir : String)

Directory the checked HTML lives in; links resolve against it. check_all sets it from its argument (normalized, no trailing slash) so custom output directories work; check_file callers that bypass check_all can set it directly.

Source

Nested types