{"action":"created","comment":{"url":"https://api.github.com/repos/spf13/hugo/pulls/comments/56437922","id":56437922,"diff_hunk":"@@ -43,29 +43,31 @@ var SummaryDivider = []byte(\"<!--more-->\")\n \n // Blackfriday holds configuration values for Blackfriday rendering.\n type Blackfriday struct {\n-\tSmartypants             bool\n-\tAngledQuotes            bool\n-\tFractions               bool\n-\tHrefTargetBlank         bool\n-\tSmartDashes             bool\n-\tLatexDashes             bool\n-\tPlainIDAnchors          bool\n-\tSourceRelativeLinksEval bool\n-\tExtensions              []string\n-\tExtensionsMask          []string\n+\tSmartypants                      bool\n+\tAngledQuotes                     bool\n+\tFractions                        bool\n+\tHrefTargetBlank                  bool\n+\tSmartDashes                      bool\n+\tLatexDashes                      bool\n+\tPlainIDAnchors                   bool\n+\tSourceRelativeLinksEval          bool\n+\tSourceRelativeLinksProjectFolder string\n+\tExtensions                       []string\n+\tExtensionsMask                   []string\n }\n \n // NewBlackfriday creates a new Blackfriday filled with site config or some sane defaults\n func NewBlackfriday() *Blackfriday {\n \tcombinedParam := map[string]interface{}{\n-\t\t\"smartypants\":         true,\n-\t\t\"angledQuotes\":        false,\n-\t\t\"fractions\":           true,\n-\t\t\"hrefTargetBlank\":     false,\n-\t\t\"smartDashes\":         true,\n-\t\t\"latexDashes\":         true,\n-\t\t\"plainIDAnchors\":      false,\n-\t\t\"sourceRelativeLinks\": false,\n+\t\t\"smartypants\":                      true,\n+\t\t\"angledQuotes\":                     false,\n+\t\t\"fractions\":                        true,\n+\t\t\"hrefTargetBlank\":                  false,\n+\t\t\"smartDashes\":                      true,\n+\t\t\"latexDashes\":                      true,\n+\t\t\"plainIDAnchors\":                   false,\n+\t\t\"sourceRelativeLinks\":              false,\n+\t\t\"sourceRelativeLinksProjectFolder\": \"/docs/content\",","path":"helpers/content.go","position":46,"original_position":46,"commit_id":"4124859afeb8bc05fa404d35cd3681f05dbc1114","original_commit_id":"4124859afeb8bc05fa404d35cd3681f05dbc1114","user":{"login":"SvenDowideit","id":28492,"avatar_url":"https://avatars.githubusercontent.com/u/28492?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenDowideit","html_url":"https://github.com/SvenDowideit","followers_url":"https://api.github.com/users/SvenDowideit/followers","following_url":"https://api.github.com/users/SvenDowideit/following{/other_user}","gists_url":"https://api.github.com/users/SvenDowideit/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenDowideit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenDowideit/subscriptions","organizations_url":"https://api.github.com/users/SvenDowideit/orgs","repos_url":"https://api.github.com/users/SvenDowideit/repos","events_url":"https://api.github.com/users/SvenDowideit/events{/privacy}","received_events_url":"https://api.github.com/users/SvenDowideit/received_events","type":"User","site_admin":false},"body":"mmm, no, that won't work - in our repo, the docs are directly in `/docs`, and that is what the github links would be to - the content dir is created by our vendoring system.","created_at":"2016-03-17T00:11:24Z","updated_at":"2016-03-17T00:11:24Z","html_url":"https://github.com/spf13/hugo/pull/1977#discussion_r56437922","pull_request_url":"https://api.github.com/repos/spf13/hugo/pulls/1977","_links":{"self":{"href":"https://api.github.com/repos/spf13/hugo/pulls/comments/56437922"},"html":{"href":"https://github.com/spf13/hugo/pull/1977#discussion_r56437922"},"pull_request":{"href":"https://api.github.com/repos/spf13/hugo/pulls/1977"}}},"pull_request":{"url":"https://api.github.com/repos/spf13/hugo/pulls/1977","id":62859512,"html_url":"https://github.com/spf13/hugo/pull/1977","diff_url":"https://github.com/spf13/hugo/pull/1977.diff","patch_url":"https://github.com/spf13/hugo/pull/1977.patch","issue_url":"https://api.github.com/repos/spf13/hugo/issues/1977","number":1977,"state":"open","locked":false,"title":"Document and clean SourceRelativeLinksEval code","user":{"login":"SvenDowideit","id":28492,"avatar_url":"https://avatars.githubusercontent.com/u/28492?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenDowideit","html_url":"https://github.com/SvenDowideit","followers_url":"https://api.github.com/users/SvenDowideit/followers","following_url":"https://api.github.com/users/SvenDowideit/following{/other_user}","gists_url":"https://api.github.com/users/SvenDowideit/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenDowideit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenDowideit/subscriptions","organizations_url":"https://api.github.com/users/SvenDowideit/orgs","repos_url":"https://api.github.com/users/SvenDowideit/repos","events_url":"https://api.github.com/users/SvenDowideit/events{/privacy}","received_events_url":"https://api.github.com/users/SvenDowideit/received_events","type":"User","site_admin":false},"body":"The second commit also renames the functions to be consistent with the config option - if you like it, i'll squash :)","created_at":"2016-03-15T06:10:05Z","updated_at":"2016-03-17T00:11:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d578a4a75665716f666d4ec16785caa0405d8da1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spf13/hugo/pulls/1977/commits","review_comments_url":"https://api.github.com/repos/spf13/hugo/pulls/1977/comments","review_comment_url":"https://api.github.com/repos/spf13/hugo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/1977/comments","statuses_url":"https://api.github.com/repos/spf13/hugo/statuses/4124859afeb8bc05fa404d35cd3681f05dbc1114","head":{"label":"SvenDowideit:document-and-clean","ref":"document-and-clean","sha":"4124859afeb8bc05fa404d35cd3681f05dbc1114","user":{"login":"SvenDowideit","id":28492,"avatar_url":"https://avatars.githubusercontent.com/u/28492?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenDowideit","html_url":"https://github.com/SvenDowideit","followers_url":"https://api.github.com/users/SvenDowideit/followers","following_url":"https://api.github.com/users/SvenDowideit/following{/other_user}","gists_url":"https://api.github.com/users/SvenDowideit/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenDowideit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenDowideit/subscriptions","organizations_url":"https://api.github.com/users/SvenDowideit/orgs","repos_url":"https://api.github.com/users/SvenDowideit/repos","events_url":"https://api.github.com/users/SvenDowideit/events{/privacy}","received_events_url":"https://api.github.com/users/SvenDowideit/received_events","type":"User","site_admin":false},"repo":{"id":41708522,"name":"hugo","full_name":"SvenDowideit/hugo","owner":{"login":"SvenDowideit","id":28492,"avatar_url":"https://avatars.githubusercontent.com/u/28492?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenDowideit","html_url":"https://github.com/SvenDowideit","followers_url":"https://api.github.com/users/SvenDowideit/followers","following_url":"https://api.github.com/users/SvenDowideit/following{/other_user}","gists_url":"https://api.github.com/users/SvenDowideit/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenDowideit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenDowideit/subscriptions","organizations_url":"https://api.github.com/users/SvenDowideit/orgs","repos_url":"https://api.github.com/users/SvenDowideit/repos","events_url":"https://api.github.com/users/SvenDowideit/events{/privacy}","received_events_url":"https://api.github.com/users/SvenDowideit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SvenDowideit/hugo","description":"A Fast and Flexible Static Site Generator built with love by spf13 in GoLang","fork":true,"url":"https://api.github.com/repos/SvenDowideit/hugo","forks_url":"https://api.github.com/repos/SvenDowideit/hugo/forks","keys_url":"https://api.github.com/repos/SvenDowideit/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SvenDowideit/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SvenDowideit/hugo/teams","hooks_url":"https://api.github.com/repos/SvenDowideit/hugo/hooks","issue_events_url":"https://api.github.com/repos/SvenDowideit/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/SvenDowideit/hugo/events","assignees_url":"https://api.github.com/repos/SvenDowideit/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/SvenDowideit/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/SvenDowideit/hugo/tags","blobs_url":"https://api.github.com/repos/SvenDowideit/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SvenDowideit/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SvenDowideit/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/SvenDowideit/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SvenDowideit/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/SvenDowideit/hugo/languages","stargazers_url":"https://api.github.com/repos/SvenDowideit/hugo/stargazers","contributors_url":"https://api.github.com/repos/SvenDowideit/hugo/contributors","subscribers_url":"https://api.github.com/repos/SvenDowideit/hugo/subscribers","subscription_url":"https://api.github.com/repos/SvenDowideit/hugo/subscription","commits_url":"https://api.github.com/repos/SvenDowideit/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/SvenDowideit/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/SvenDowideit/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/SvenDowideit/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/SvenDowideit/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/SvenDowideit/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SvenDowideit/hugo/merges","archive_url":"https://api.github.com/repos/SvenDowideit/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SvenDowideit/hugo/downloads","issues_url":"https://api.github.com/repos/SvenDowideit/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/SvenDowideit/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/SvenDowideit/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/SvenDowideit/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SvenDowideit/hugo/labels{/name}","releases_url":"https://api.github.com/repos/SvenDowideit/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/SvenDowideit/hugo/deployments","created_at":"2015-09-01T00:54:22Z","updated_at":"2016-02-25T11:02:58Z","pushed_at":"2016-03-16T02:11:09Z","git_url":"git://github.com/SvenDowideit/hugo.git","ssh_url":"git@github.com:SvenDowideit/hugo.git","clone_url":"https://github.com/SvenDowideit/hugo.git","svn_url":"https://github.com/SvenDowideit/hugo","homepage":"http://gohugo.io","size":27698,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"spf13:master","ref":"master","sha":"575ae1b3f9df3af675b45a24e9f37c6675d06222","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-03-16T23:43:33Z","pushed_at":"2016-03-16T20:02:40Z","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":39609,"stargazers_count":8832,"watchers_count":8832,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1427,"mirror_url":null,"open_issues_count":292,"forks":1427,"open_issues":292,"watchers":8832,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spf13/hugo/pulls/1977"},"html":{"href":"https://github.com/spf13/hugo/pull/1977"},"issue":{"href":"https://api.github.com/repos/spf13/hugo/issues/1977"},"comments":{"href":"https://api.github.com/repos/spf13/hugo/issues/1977/comments"},"review_comments":{"href":"https://api.github.com/repos/spf13/hugo/pulls/1977/comments"},"review_comment":{"href":"https://api.github.com/repos/spf13/hugo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spf13/hugo/pulls/1977/commits"},"statuses":{"href":"https://api.github.com/repos/spf13/hugo/statuses/4124859afeb8bc05fa404d35cd3681f05dbc1114"}}}}