Skip to content

Check links in static site on disk? #126

@emiltin

Description

@emiltin

I'm using Jekyll with GitHub Pages. Jekyll produces a folder with static files. How can I validate links in this static site?

I tried to mount the folder in the container and point to it, but it looks like it does not recognize an url in the form of file://path.

% docker run --rm -v /absolute/path/_site:/_site tennox/linkcheck -d file://_site
Reading URLs:
http://file://_site
Crawl will start on the following URLs: [http://file//_site]
...

The http://file://_sitein the output looks wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions