Skip to content

[linkcheck] Add url roots to ignore #272

@preaction

Description

@preaction

My blog has a few parts that are generated by github pages, like /ETL-Yertl and /Statocles, so links to those parts will never be right.

I could force an http://preaction.github.io/, but it'd be nice if I could just say which URLs don't need to be checked.

I should be able to set an array of ignores. Ignores should be pattern matches, like so:

# site.yml
site:
    on:
        - build:
            $class: Statocles::Plugin::LinkCheck
            $args:
                ignore:
                    - '/ETL-Yertl'
                    - '/Statocles'
            $method: check_pages

This apparently makes it more difficult to use the anonymous syntax. We should change the name to "$handler" instead!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions