{"action":"closed","number":2438,"pull_request":{"url":"https://api.github.com/repos/spf13/hugo/pulls/2438","id":84971452,"html_url":"https://github.com/spf13/hugo/pull/2438","diff_url":"https://github.com/spf13/hugo/pull/2438.diff","patch_url":"https://github.com/spf13/hugo/pull/2438.patch","issue_url":"https://api.github.com/repos/spf13/hugo/issues/2438","number":2438,"state":"closed","locked":false,"title":"docs: Improve Traversing Local Files","user":{"login":"MarkDBlackwell","id":692702,"avatar_url":"https://avatars.githubusercontent.com/u/692702?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkDBlackwell","html_url":"https://github.com/MarkDBlackwell","followers_url":"https://api.github.com/users/MarkDBlackwell/followers","following_url":"https://api.github.com/users/MarkDBlackwell/following{/other_user}","gists_url":"https://api.github.com/users/MarkDBlackwell/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkDBlackwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkDBlackwell/subscriptions","organizations_url":"https://api.github.com/users/MarkDBlackwell/orgs","repos_url":"https://api.github.com/users/MarkDBlackwell/repos","events_url":"https://api.github.com/users/MarkDBlackwell/events{/privacy}","received_events_url":"https://api.github.com/users/MarkDBlackwell/received_events","type":"User","site_admin":false},"body":"1. Clarify its English;\r\n1. Remove an unnecessary [HTML style attribute](https://www.w3.org/TR/2002/WD-css-style-attr-20020515);\r\n1. Give the shortcode a more accurate name;\r\n1. Better distinguish filesystem paths from URL paths;\r\n1. Mention, for function `readDir`, that relative and absolute paths have the same effect;\r\n1. Correct a bug in the shortcode, whereby the links it provided were broken by conversion to lower case, for filenames containing capitalization such as `HPstyles.css`;\r\n1. Remove source code duplication between the content file and the shortcode file; and\r\n1. Provide a new shortcode which reads and displays any file (for now: just the main shortcode file).","created_at":"2016-09-13T01:21:33Z","updated_at":"2016-09-15T13:24:10Z","closed_at":"2016-09-15T13:24:10Z","merged_at":null,"merge_commit_sha":"31fc1c66442097f9ebdfea50a6a02a9ab5c38ec3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/spf13/hugo/pulls/2438/commits","review_comments_url":"https://api.github.com/repos/spf13/hugo/pulls/2438/comments","review_comment_url":"https://api.github.com/repos/spf13/hugo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/2438/comments","statuses_url":"https://api.github.com/repos/spf13/hugo/statuses/0e9766139aef591f29e56a4af734845ddfd19751","head":{"label":"MarkDBlackwell:mdb/docs-improve-localfiles","ref":"mdb/docs-improve-localfiles","sha":"0e9766139aef591f29e56a4af734845ddfd19751","user":{"login":"MarkDBlackwell","id":692702,"avatar_url":"https://avatars.githubusercontent.com/u/692702?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkDBlackwell","html_url":"https://github.com/MarkDBlackwell","followers_url":"https://api.github.com/users/MarkDBlackwell/followers","following_url":"https://api.github.com/users/MarkDBlackwell/following{/other_user}","gists_url":"https://api.github.com/users/MarkDBlackwell/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkDBlackwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkDBlackwell/subscriptions","organizations_url":"https://api.github.com/users/MarkDBlackwell/orgs","repos_url":"https://api.github.com/users/MarkDBlackwell/repos","events_url":"https://api.github.com/users/MarkDBlackwell/events{/privacy}","received_events_url":"https://api.github.com/users/MarkDBlackwell/received_events","type":"User","site_admin":false},"repo":{"id":64846786,"name":"hugo","full_name":"MarkDBlackwell/hugo","owner":{"login":"MarkDBlackwell","id":692702,"avatar_url":"https://avatars.githubusercontent.com/u/692702?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkDBlackwell","html_url":"https://github.com/MarkDBlackwell","followers_url":"https://api.github.com/users/MarkDBlackwell/followers","following_url":"https://api.github.com/users/MarkDBlackwell/following{/other_user}","gists_url":"https://api.github.com/users/MarkDBlackwell/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkDBlackwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkDBlackwell/subscriptions","organizations_url":"https://api.github.com/users/MarkDBlackwell/orgs","repos_url":"https://api.github.com/users/MarkDBlackwell/repos","events_url":"https://api.github.com/users/MarkDBlackwell/events{/privacy}","received_events_url":"https://api.github.com/users/MarkDBlackwell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MarkDBlackwell/hugo","description":"A Fast and Flexible Static Site Generator built with love in GoLang","fork":true,"url":"https://api.github.com/repos/MarkDBlackwell/hugo","forks_url":"https://api.github.com/repos/MarkDBlackwell/hugo/forks","keys_url":"https://api.github.com/repos/MarkDBlackwell/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarkDBlackwell/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarkDBlackwell/hugo/teams","hooks_url":"https://api.github.com/repos/MarkDBlackwell/hugo/hooks","issue_events_url":"https://api.github.com/repos/MarkDBlackwell/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/MarkDBlackwell/hugo/events","assignees_url":"https://api.github.com/repos/MarkDBlackwell/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/MarkDBlackwell/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/MarkDBlackwell/hugo/tags","blobs_url":"https://api.github.com/repos/MarkDBlackwell/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarkDBlackwell/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarkDBlackwell/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarkDBlackwell/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarkDBlackwell/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/MarkDBlackwell/hugo/languages","stargazers_url":"https://api.github.com/repos/MarkDBlackwell/hugo/stargazers","contributors_url":"https://api.github.com/repos/MarkDBlackwell/hugo/contributors","subscribers_url":"https://api.github.com/repos/MarkDBlackwell/hugo/subscribers","subscription_url":"https://api.github.com/repos/MarkDBlackwell/hugo/subscription","commits_url":"https://api.github.com/repos/MarkDBlackwell/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarkDBlackwell/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarkDBlackwell/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarkDBlackwell/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarkDBlackwell/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/MarkDBlackwell/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarkDBlackwell/hugo/merges","archive_url":"https://api.github.com/repos/MarkDBlackwell/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarkDBlackwell/hugo/downloads","issues_url":"https://api.github.com/repos/MarkDBlackwell/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/MarkDBlackwell/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/MarkDBlackwell/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/MarkDBlackwell/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarkDBlackwell/hugo/labels{/name}","releases_url":"https://api.github.com/repos/MarkDBlackwell/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/MarkDBlackwell/hugo/deployments","created_at":"2016-08-03T13:08:02Z","updated_at":"2016-08-03T13:08:04Z","pushed_at":"2016-09-13T12:16:38Z","git_url":"git://github.com/MarkDBlackwell/hugo.git","ssh_url":"git@github.com:MarkDBlackwell/hugo.git","clone_url":"https://github.com/MarkDBlackwell/hugo.git","svn_url":"https://github.com/MarkDBlackwell/hugo","homepage":"http://gohugo.io","size":29867,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spf13:master","ref":"master","sha":"69a97823c4dbf32acc2fb5e8e23b2d953730ab24","user":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"repo":{"id":11180687,"name":"hugo","full_name":"spf13/hugo","owner":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spf13/hugo","description":"A Fast and Flexible Static Site Generator built with love in GoLang","fork":false,"url":"https://api.github.com/repos/spf13/hugo","forks_url":"https://api.github.com/repos/spf13/hugo/forks","keys_url":"https://api.github.com/repos/spf13/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spf13/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spf13/hugo/teams","hooks_url":"https://api.github.com/repos/spf13/hugo/hooks","issue_events_url":"https://api.github.com/repos/spf13/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/spf13/hugo/events","assignees_url":"https://api.github.com/repos/spf13/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/spf13/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/spf13/hugo/tags","blobs_url":"https://api.github.com/repos/spf13/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spf13/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spf13/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/spf13/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spf13/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/spf13/hugo/languages","stargazers_url":"https://api.github.com/repos/spf13/hugo/stargazers","contributors_url":"https://api.github.com/repos/spf13/hugo/contributors","subscribers_url":"https://api.github.com/repos/spf13/hugo/subscribers","subscription_url":"https://api.github.com/repos/spf13/hugo/subscription","commits_url":"https://api.github.com/repos/spf13/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/spf13/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/spf13/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/spf13/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/spf13/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/spf13/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spf13/hugo/merges","archive_url":"https://api.github.com/repos/spf13/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spf13/hugo/downloads","issues_url":"https://api.github.com/repos/spf13/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/spf13/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/spf13/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/spf13/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spf13/hugo/labels{/name}","releases_url":"https://api.github.com/repos/spf13/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/spf13/hugo/deployments","created_at":"2013-07-04T15:26:26Z","updated_at":"2016-09-15T13:04:43Z","pushed_at":"2016-09-15T13:23:26Z","git_url":"git://github.com/spf13/hugo.git","ssh_url":"git@github.com:spf13/hugo.git","clone_url":"https://github.com/spf13/hugo.git","svn_url":"https://github.com/spf13/hugo","homepage":"http://gohugo.io","size":45335,"stargazers_count":11575,"watchers_count":11575,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1861,"mirror_url":null,"open_issues_count":316,"forks":1861,"open_issues":316,"watchers":11575,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spf13/hugo/pulls/2438"},"html":{"href":"https://github.com/spf13/hugo/pull/2438"},"issue":{"href":"https://api.github.com/repos/spf13/hugo/issues/2438"},"comments":{"href":"https://api.github.com/repos/spf13/hugo/issues/2438/comments"},"review_comments":{"href":"https://api.github.com/repos/spf13/hugo/pulls/2438/comments"},"review_comment":{"href":"https://api.github.com/repos/spf13/hugo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spf13/hugo/pulls/2438/commits"},"statuses":{"href":"https://api.github.com/repos/spf13/hugo/statuses/0e9766139aef591f29e56a4af734845ddfd19751"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":57,"deletions":53,"changed_files":4}}
{"actor":{"display_login":"digitalcraftsman"}}