{"action":"created","issue":{"url":"https://api.github.com/repos/justinwalsh/daux.io/issues/265","labels_url":"https://api.github.com/repos/justinwalsh/daux.io/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/justinwalsh/daux.io/issues/265/comments","events_url":"https://api.github.com/repos/justinwalsh/daux.io/issues/265/events","html_url":"https://github.com/justinwalsh/daux.io/pull/265","id":67287899,"number":265,"title":"Patch / Sort update","user":{"login":"holodyn","id":5184577,"avatar_url":"https://avatars.githubusercontent.com/u/5184577?v=3","gravatar_id":"","url":"https://api.github.com/users/holodyn","html_url":"https://github.com/holodyn","followers_url":"https://api.github.com/users/holodyn/followers","following_url":"https://api.github.com/users/holodyn/following{/other_user}","gists_url":"https://api.github.com/users/holodyn/gists{/gist_id}","starred_url":"https://api.github.com/users/holodyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holodyn/subscriptions","organizations_url":"https://api.github.com/users/holodyn/orgs","repos_url":"https://api.github.com/users/holodyn/repos","events_url":"https://api.github.com/users/holodyn/events{/privacy}","received_events_url":"https://api.github.com/users/holodyn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-04-09T05:59:47Z","updated_at":"2015-07-29T21:11:46Z","closed_at":"2015-07-21T13:19:58Z","pull_request":{"url":"https://api.github.com/repos/justinwalsh/daux.io/pulls/265","html_url":"https://github.com/justinwalsh/daux.io/pull/265","diff_url":"https://github.com/justinwalsh/daux.io/pull/265.diff","patch_url":"https://github.com/justinwalsh/daux.io/pull/265.patch"},"body":"Patch to temporarily correct unassigned \"entry_page\" value when a sub-folder only contains a single index.\r\n\r\nPreliminary sort on build tree to improve first_page identification.\r\n\r\nNeed testing on \"View Documentation\" assignment when only nested index pages are available.  Currently fails with invalid URI."},"comment":{"url":"https://api.github.com/repos/justinwalsh/daux.io/issues/comments/126096836","html_url":"https://github.com/justinwalsh/daux.io/pull/265#issuecomment-126096836","issue_url":"https://api.github.com/repos/justinwalsh/daux.io/issues/265","id":126096836,"user":{"login":"holodyn","id":5184577,"avatar_url":"https://avatars.githubusercontent.com/u/5184577?v=3","gravatar_id":"","url":"https://api.github.com/users/holodyn","html_url":"https://github.com/holodyn","followers_url":"https://api.github.com/users/holodyn/followers","following_url":"https://api.github.com/users/holodyn/following{/other_user}","gists_url":"https://api.github.com/users/holodyn/gists{/gist_id}","starred_url":"https://api.github.com/users/holodyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holodyn/subscriptions","organizations_url":"https://api.github.com/users/holodyn/orgs","repos_url":"https://api.github.com/users/holodyn/repos","events_url":"https://api.github.com/users/holodyn/events{/privacy}","received_events_url":"https://api.github.com/users/holodyn/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T21:11:46Z","updated_at":"2015-07-29T21:11:46Z","body":"I hear you.  It may be unreasonable to have a common extender, but it would be nice so that the processor doesn't have to change every time a new handler is added.\r\n\r\n````\r\nlibs/Processor\r\nclass Processor {\r\n\tpublic function extendHandler( $handler ){\r\n\t\t$handlerClass = 'extendHandler' . $this->daux->options->handler;\r\n\t\tif( method_exists($this, $handlerClass) ){\r\n\t\t\treturn call_user_func([$this, $handlerClass]);\r\n\t\t}\r\n\t}\r\n}\r\n````\r\n\r\n````\r\nlibs/Extension/MyProcessor.php\r\nclass MyProcessor extends Processor {\r\n\tpublic function extendHandlerCommonMark( $handler ){\r\n\t}\r\n}\r\n````"}}