{"action":"opened","issue":{"url":"https://api.github.com/repos/preaction/Statocles/issues/272","labels_url":"https://api.github.com/repos/preaction/Statocles/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/preaction/Statocles/issues/272/comments","events_url":"https://api.github.com/repos/preaction/Statocles/issues/272/events","html_url":"https://github.com/preaction/Statocles/issues/272","id":59443337,"number":272,"title":"[linkcheck] Add url roots to ignore","user":{"login":"preaction","id":53707,"avatar_url":"https://avatars.githubusercontent.com/u/53707?v=3","gravatar_id":"","url":"https://api.github.com/users/preaction","html_url":"https://github.com/preaction","followers_url":"https://api.github.com/users/preaction/followers","following_url":"https://api.github.com/users/preaction/following{/other_user}","gists_url":"https://api.github.com/users/preaction/gists{/gist_id}","starred_url":"https://api.github.com/users/preaction/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preaction/subscriptions","organizations_url":"https://api.github.com/users/preaction/orgs","repos_url":"https://api.github.com/users/preaction/repos","events_url":"https://api.github.com/users/preaction/events{/privacy}","received_events_url":"https://api.github.com/users/preaction/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/preaction/Statocles/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T06:26:31Z","updated_at":"2015-03-02T06:26:31Z","closed_at":null,"body":"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.\r\n\r\nI 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.\r\n\r\nI should be able to set an array of ignores. Ignores should be pattern matches, like so:\r\n\r\n```yaml\r\n# site.yml\r\nsite:\r\n    on:\r\n        - build:\r\n            $class: Statocles::Plugin::LinkCheck\r\n            $args:\r\n                ignore:\r\n                    - '/ETL-Yertl'\r\n                    - '/Statocles'\r\n            $method: check_pages\r\n```\r\n\r\nThis apparently makes it more difficult to use the anonymous syntax. We should change the name to \"$handler\" instead!"}}