{"action":"created","comment":{"url":"https://api.github.com/repos/log2timeline/plaso/pulls/comments/220501155","pull_request_review_id":158920262,"id":220501155,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMDUwMTE1NQ==","diff_hunk":"@@ -343,13 +354,73 @@ def __add__(self, other):\n # If true, do not generate a @detailmenu in the \"Top\" node's menu.\n # texinfo_no_detailmenu = False\n \n+\n+# Configure sphinx to convert markdown links (recommonmark is broken at the\n+# moment).\n+\n+\n+class ProcessLink(transforms.Transform):\n+  \"\"\"Transform definition to parse .md references to internal pages.\"\"\"\n+\n+  default_priority = 1000\n+\n+  ANCHOR_REGEX = re.compile(\n+      r'(?P<uri>[a-zA-Z0-9-./]+?).md#(?P<anchor>[a-zA-Z0-9-]+)')\n+\n+  def find_and_replace(self, node):\n+    \"\"\"Parses URIs containing .md and replaces them with their HTML page.\n+\n+    Args:\n+        node(node): docutils node.\n+\n+    Returns:\n+      node: docutils node.\n+    \"\"\"\n+    if isinstance(node, nodes.reference) and 'refuri' in node:\n+      reference_uri = node['refuri']\n+      if reference_uri.endswith('.md'):\n+        reference_uri = reference_uri[:-3] + '.html'\n+        node['refuri'] = reference_uri\n+      else:\n+        match = self.ANCHOR_REGEX.match(reference_uri)\n+        if match:\n+          node['refuri'] = '{0:s}.html#{1:s}'.format(\n+              match.group('uri'), match.group('anchor'))\n+    return node\n+\n+  def traverse(self, node):\n+    \"\"\"Traverse the document tree rooted at node.\n+\n+    node(node): docutils node.\n+    \"\"\"\n+    self.find_and_replace(node)\n+\n+    for c in node.children:\n+      self.traverse(c)\n+\n+  # pylint: disable=arguments-differ\n+  def apply(self):\n+    \"\"\"Applies transform on document tree.\"\"\"\n+    self.traverse(self.document)\n+\n+\n+\n def RunSphinxAPIDoc(_):\n-  \"\"\"Run sphinx-apidoc to auto-generate documentation.\"\"\"\n+  \"\"\"Runs sphinx-apidoc to auto-generate documentation.\"\"\"\n   # sys.path.append(os.path.join(os.path.dirname(__file__)))","path":"docs/conf.py","position":94,"original_position":94,"commit_id":"43de46113cabd3c62730aca86e68f11412d52557","original_commit_id":"43de46113cabd3c62730aca86e68f11412d52557","user":{"login":"Onager","id":1298404,"node_id":"MDQ6VXNlcjEyOTg0MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1298404?v=4","gravatar_id":"","url":"https://api.github.com/users/Onager","html_url":"https://github.com/Onager","followers_url":"https://api.github.com/users/Onager/followers","following_url":"https://api.github.com/users/Onager/following{/other_user}","gists_url":"https://api.github.com/users/Onager/gists{/gist_id}","starred_url":"https://api.github.com/users/Onager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Onager/subscriptions","organizations_url":"https://api.github.com/users/Onager/orgs","repos_url":"https://api.github.com/users/Onager/repos","events_url":"https://api.github.com/users/Onager/events{/privacy}","received_events_url":"https://api.github.com/users/Onager/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2018-09-26T10:03:30Z","updated_at":"2018-09-26T10:05:03Z","html_url":"https://github.com/log2timeline/plaso/pull/2155#discussion_r220501155","pull_request_url":"https://api.github.com/repos/log2timeline/plaso/pulls/2155","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/log2timeline/plaso/pulls/comments/220501155"},"html":{"href":"https://github.com/log2timeline/plaso/pull/2155#discussion_r220501155"},"pull_request":{"href":"https://api.github.com/repos/log2timeline/plaso/pulls/2155"}},"in_reply_to_id":220426583},"pull_request":{"url":"https://api.github.com/repos/log2timeline/plaso/pulls/2155","id":217965468,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3OTY1NDY4","html_url":"https://github.com/log2timeline/plaso/pull/2155","diff_url":"https://github.com/log2timeline/plaso/pull/2155.diff","patch_url":"https://github.com/log2timeline/plaso/pull/2155.patch","issue_url":"https://api.github.com/repos/log2timeline/plaso/issues/2155","number":2155,"state":"open","locked":false,"title":"Moved documentation from Github wiki into source tree","user":{"login":"Onager","id":1298404,"node_id":"MDQ6VXNlcjEyOTg0MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1298404?v=4","gravatar_id":"","url":"https://api.github.com/users/Onager","html_url":"https://github.com/Onager","followers_url":"https://api.github.com/users/Onager/followers","following_url":"https://api.github.com/users/Onager/following{/other_user}","gists_url":"https://api.github.com/users/Onager/gists{/gist_id}","starred_url":"https://api.github.com/users/Onager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Onager/subscriptions","organizations_url":"https://api.github.com/users/Onager/orgs","repos_url":"https://api.github.com/users/Onager/repos","events_url":"https://api.github.com/users/Onager/events{/privacy}","received_events_url":"https://api.github.com/users/Onager/received_events","type":"User","site_admin":false},"body":"Demo for what the documentation will look like: https://plaso-fork.readthedocs.io/en/latest/","created_at":"2018-09-25T12:42:39Z","updated_at":"2018-09-26T10:05:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b45364b9989d43621bd272e0a51e07faf69e9d9","assignee":{"login":"tomchop","id":1257972,"node_id":"MDQ6VXNlcjEyNTc5NzI=","avatar_url":"https://avatars3.githubusercontent.com/u/1257972?v=4","gravatar_id":"","url":"https://api.github.com/users/tomchop","html_url":"https://github.com/tomchop","followers_url":"https://api.github.com/users/tomchop/followers","following_url":"https://api.github.com/users/tomchop/following{/other_user}","gists_url":"https://api.github.com/users/tomchop/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchop/subscriptions","organizations_url":"https://api.github.com/users/tomchop/orgs","repos_url":"https://api.github.com/users/tomchop/repos","events_url":"https://api.github.com/users/tomchop/events{/privacy}","received_events_url":"https://api.github.com/users/tomchop/received_events","type":"User","site_admin":false},"assignees":[{"login":"tomchop","id":1257972,"node_id":"MDQ6VXNlcjEyNTc5NzI=","avatar_url":"https://avatars3.githubusercontent.com/u/1257972?v=4","gravatar_id":"","url":"https://api.github.com/users/tomchop","html_url":"https://github.com/tomchop","followers_url":"https://api.github.com/users/tomchop/followers","following_url":"https://api.github.com/users/tomchop/following{/other_user}","gists_url":"https://api.github.com/users/tomchop/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchop/subscriptions","organizations_url":"https://api.github.com/users/tomchop/orgs","repos_url":"https://api.github.com/users/tomchop/repos","events_url":"https://api.github.com/users/tomchop/events{/privacy}","received_events_url":"https://api.github.com/users/tomchop/received_events","type":"User","site_admin":false},{"login":"joachimmetz","id":3888750,"node_id":"MDQ6VXNlcjM4ODg3NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3888750?v=4","gravatar_id":"","url":"https://api.github.com/users/joachimmetz","html_url":"https://github.com/joachimmetz","followers_url":"https://api.github.com/users/joachimmetz/followers","following_url":"https://api.github.com/users/joachimmetz/following{/other_user}","gists_url":"https://api.github.com/users/joachimmetz/gists{/gist_id}","starred_url":"https://api.github.com/users/joachimmetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joachimmetz/subscriptions","organizations_url":"https://api.github.com/users/joachimmetz/orgs","repos_url":"https://api.github.com/users/joachimmetz/repos","events_url":"https://api.github.com/users/joachimmetz/events{/privacy}","received_events_url":"https://api.github.com/users/joachimmetz/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/log2timeline/plaso/pulls/2155/commits","review_comments_url":"https://api.github.com/repos/log2timeline/plaso/pulls/2155/comments","review_comment_url":"https://api.github.com/repos/log2timeline/plaso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/log2timeline/plaso/issues/2155/comments","statuses_url":"https://api.github.com/repos/log2timeline/plaso/statuses/43de46113cabd3c62730aca86e68f11412d52557","head":{"label":"Onager:docs_move","ref":"docs_move","sha":"43de46113cabd3c62730aca86e68f11412d52557","user":{"login":"Onager","id":1298404,"node_id":"MDQ6VXNlcjEyOTg0MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1298404?v=4","gravatar_id":"","url":"https://api.github.com/users/Onager","html_url":"https://github.com/Onager","followers_url":"https://api.github.com/users/Onager/followers","following_url":"https://api.github.com/users/Onager/following{/other_user}","gists_url":"https://api.github.com/users/Onager/gists{/gist_id}","starred_url":"https://api.github.com/users/Onager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Onager/subscriptions","organizations_url":"https://api.github.com/users/Onager/orgs","repos_url":"https://api.github.com/users/Onager/repos","events_url":"https://api.github.com/users/Onager/events{/privacy}","received_events_url":"https://api.github.com/users/Onager/received_events","type":"User","site_admin":false},"repo":{"id":39840612,"node_id":"MDEwOlJlcG9zaXRvcnkzOTg0MDYxMg==","name":"plaso","full_name":"Onager/plaso","private":false,"owner":{"login":"Onager","id":1298404,"node_id":"MDQ6VXNlcjEyOTg0MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/1298404?v=4","gravatar_id":"","url":"https://api.github.com/users/Onager","html_url":"https://github.com/Onager","followers_url":"https://api.github.com/users/Onager/followers","following_url":"https://api.github.com/users/Onager/following{/other_user}","gists_url":"https://api.github.com/users/Onager/gists{/gist_id}","starred_url":"https://api.github.com/users/Onager/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Onager/subscriptions","organizations_url":"https://api.github.com/users/Onager/orgs","repos_url":"https://api.github.com/users/Onager/repos","events_url":"https://api.github.com/users/Onager/events{/privacy}","received_events_url":"https://api.github.com/users/Onager/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Onager/plaso","description":"Home of the super timeline","fork":true,"url":"https://api.github.com/repos/Onager/plaso","forks_url":"https://api.github.com/repos/Onager/plaso/forks","keys_url":"https://api.github.com/repos/Onager/plaso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Onager/plaso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Onager/plaso/teams","hooks_url":"https://api.github.com/repos/Onager/plaso/hooks","issue_events_url":"https://api.github.com/repos/Onager/plaso/issues/events{/number}","events_url":"https://api.github.com/repos/Onager/plaso/events","assignees_url":"https://api.github.com/repos/Onager/plaso/assignees{/user}","branches_url":"https://api.github.com/repos/Onager/plaso/branches{/branch}","tags_url":"https://api.github.com/repos/Onager/plaso/tags","blobs_url":"https://api.github.com/repos/Onager/plaso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Onager/plaso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Onager/plaso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Onager/plaso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Onager/plaso/statuses/{sha}","languages_url":"https://api.github.com/repos/Onager/plaso/languages","stargazers_url":"https://api.github.com/repos/Onager/plaso/stargazers","contributors_url":"https://api.github.com/repos/Onager/plaso/contributors","subscribers_url":"https://api.github.com/repos/Onager/plaso/subscribers","subscription_url":"https://api.github.com/repos/Onager/plaso/subscription","commits_url":"https://api.github.com/repos/Onager/plaso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Onager/plaso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Onager/plaso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Onager/plaso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Onager/plaso/contents/{+path}","compare_url":"https://api.github.com/repos/Onager/plaso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Onager/plaso/merges","archive_url":"https://api.github.com/repos/Onager/plaso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Onager/plaso/downloads","issues_url":"https://api.github.com/repos/Onager/plaso/issues{/number}","pulls_url":"https://api.github.com/repos/Onager/plaso/pulls{/number}","milestones_url":"https://api.github.com/repos/Onager/plaso/milestones{/number}","notifications_url":"https://api.github.com/repos/Onager/plaso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Onager/plaso/labels{/name}","releases_url":"https://api.github.com/repos/Onager/plaso/releases{/id}","deployments_url":"https://api.github.com/repos/Onager/plaso/deployments","created_at":"2015-07-28T15:01:51Z","updated_at":"2018-09-25T19:54:47Z","pushed_at":"2018-09-26T10:01:24Z","git_url":"git://github.com/Onager/plaso.git","ssh_url":"git@github.com:Onager/plaso.git","clone_url":"https://github.com/Onager/plaso.git","svn_url":"https://github.com/Onager/plaso","homepage":"http://plaso.kiddaland.net","size":187642,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"log2timeline:master","ref":"master","sha":"2f0d4dab6afa176a9f995bc6722d051b26c595bc","user":{"login":"log2timeline","id":8701971,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3MDE5NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/8701971?v=4","gravatar_id":"","url":"https://api.github.com/users/log2timeline","html_url":"https://github.com/log2timeline","followers_url":"https://api.github.com/users/log2timeline/followers","following_url":"https://api.github.com/users/log2timeline/following{/other_user}","gists_url":"https://api.github.com/users/log2timeline/gists{/gist_id}","starred_url":"https://api.github.com/users/log2timeline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/log2timeline/subscriptions","organizations_url":"https://api.github.com/users/log2timeline/orgs","repos_url":"https://api.github.com/users/log2timeline/repos","events_url":"https://api.github.com/users/log2timeline/events{/privacy}","received_events_url":"https://api.github.com/users/log2timeline/received_events","type":"Organization","site_admin":false},"repo":{"id":23812315,"node_id":"MDEwOlJlcG9zaXRvcnkyMzgxMjMxNQ==","name":"plaso","full_name":"log2timeline/plaso","private":false,"owner":{"login":"log2timeline","id":8701971,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg3MDE5NzE=","avatar_url":"https://avatars2.githubusercontent.com/u/8701971?v=4","gravatar_id":"","url":"https://api.github.com/users/log2timeline","html_url":"https://github.com/log2timeline","followers_url":"https://api.github.com/users/log2timeline/followers","following_url":"https://api.github.com/users/log2timeline/following{/other_user}","gists_url":"https://api.github.com/users/log2timeline/gists{/gist_id}","starred_url":"https://api.github.com/users/log2timeline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/log2timeline/subscriptions","organizations_url":"https://api.github.com/users/log2timeline/orgs","repos_url":"https://api.github.com/users/log2timeline/repos","events_url":"https://api.github.com/users/log2timeline/events{/privacy}","received_events_url":"https://api.github.com/users/log2timeline/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/log2timeline/plaso","description":"Super timeline all the things","fork":false,"url":"https://api.github.com/repos/log2timeline/plaso","forks_url":"https://api.github.com/repos/log2timeline/plaso/forks","keys_url":"https://api.github.com/repos/log2timeline/plaso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/log2timeline/plaso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/log2timeline/plaso/teams","hooks_url":"https://api.github.com/repos/log2timeline/plaso/hooks","issue_events_url":"https://api.github.com/repos/log2timeline/plaso/issues/events{/number}","events_url":"https://api.github.com/repos/log2timeline/plaso/events","assignees_url":"https://api.github.com/repos/log2timeline/plaso/assignees{/user}","branches_url":"https://api.github.com/repos/log2timeline/plaso/branches{/branch}","tags_url":"https://api.github.com/repos/log2timeline/plaso/tags","blobs_url":"https://api.github.com/repos/log2timeline/plaso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/log2timeline/plaso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/log2timeline/plaso/git/refs{/sha}","trees_url":"https://api.github.com/repos/log2timeline/plaso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/log2timeline/plaso/statuses/{sha}","languages_url":"https://api.github.com/repos/log2timeline/plaso/languages","stargazers_url":"https://api.github.com/repos/log2timeline/plaso/stargazers","contributors_url":"https://api.github.com/repos/log2timeline/plaso/contributors","subscribers_url":"https://api.github.com/repos/log2timeline/plaso/subscribers","subscription_url":"https://api.github.com/repos/log2timeline/plaso/subscription","commits_url":"https://api.github.com/repos/log2timeline/plaso/commits{/sha}","git_commits_url":"https://api.github.com/repos/log2timeline/plaso/git/commits{/sha}","comments_url":"https://api.github.com/repos/log2timeline/plaso/comments{/number}","issue_comment_url":"https://api.github.com/repos/log2timeline/plaso/issues/comments{/number}","contents_url":"https://api.github.com/repos/log2timeline/plaso/contents/{+path}","compare_url":"https://api.github.com/repos/log2timeline/plaso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/log2timeline/plaso/merges","archive_url":"https://api.github.com/repos/log2timeline/plaso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/log2timeline/plaso/downloads","issues_url":"https://api.github.com/repos/log2timeline/plaso/issues{/number}","pulls_url":"https://api.github.com/repos/log2timeline/plaso/pulls{/number}","milestones_url":"https://api.github.com/repos/log2timeline/plaso/milestones{/number}","notifications_url":"https://api.github.com/repos/log2timeline/plaso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/log2timeline/plaso/labels{/name}","releases_url":"https://api.github.com/repos/log2timeline/plaso/releases{/id}","deployments_url":"https://api.github.com/repos/log2timeline/plaso/deployments","created_at":"2014-09-08T23:29:28Z","updated_at":"2018-09-26T04:01:42Z","pushed_at":"2018-09-25T21:17:21Z","git_url":"git://github.com/log2timeline/plaso.git","ssh_url":"git@github.com:log2timeline/plaso.git","clone_url":"https://github.com/log2timeline/plaso.git","svn_url":"https://github.com/log2timeline/plaso","homepage":"","size":187471,"stargazers_count":624,"watchers_count":624,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":138,"mirror_url":null,"archived":false,"open_issues_count":268,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":138,"open_issues":268,"watchers":624,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/log2timeline/plaso/pulls/2155"},"html":{"href":"https://github.com/log2timeline/plaso/pull/2155"},"issue":{"href":"https://api.github.com/repos/log2timeline/plaso/issues/2155"},"comments":{"href":"https://api.github.com/repos/log2timeline/plaso/issues/2155/comments"},"review_comments":{"href":"https://api.github.com/repos/log2timeline/plaso/pulls/2155/comments"},"review_comment":{"href":"https://api.github.com/repos/log2timeline/plaso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/log2timeline/plaso/pulls/2155/commits"},"statuses":{"href":"https://api.github.com/repos/log2timeline/plaso/statuses/43de46113cabd3c62730aca86e68f11412d52557"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Onager"}}