{"action":"closed","number":1617,"pull_request":{"url":"https://api.github.com/repos/getpelican/pelican/pulls/1617","id":28867941,"html_url":"https://github.com/getpelican/pelican/pull/1617","diff_url":"https://github.com/getpelican/pelican/pull/1617.diff","patch_url":"https://github.com/getpelican/pelican/pull/1617.patch","issue_url":"https://api.github.com/repos/getpelican/pelican/issues/1617","number":1617,"state":"closed","locked":false,"title":"Add articles with subparts.","user":{"login":"pxquim","id":10789151,"avatar_url":"https://avatars.githubusercontent.com/u/10789151?v=3","gravatar_id":"","url":"https://api.github.com/users/pxquim","html_url":"https://github.com/pxquim","followers_url":"https://api.github.com/users/pxquim/followers","following_url":"https://api.github.com/users/pxquim/following{/other_user}","gists_url":"https://api.github.com/users/pxquim/gists{/gist_id}","starred_url":"https://api.github.com/users/pxquim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pxquim/subscriptions","organizations_url":"https://api.github.com/users/pxquim/orgs","repos_url":"https://api.github.com/users/pxquim/repos","events_url":"https://api.github.com/users/pxquim/events{/privacy}","received_events_url":"https://api.github.com/users/pxquim/received_events","type":"User","site_admin":false},"body":"Sub-articles are useful when an article has logically related parts\r\nthat are too large to be conveniently included in a single article,\r\nyet are not independent enough to merit a separate article.\r\n\r\nThe site pxquim.pt uses sub-articles to associate multiple photo galleries\r\nwith a single article. Each photo gallery goes into a sub-article.\r\n\r\nBy convention, subparts of articles are articles with \"--\" in their name.\r\nThe part before the \"--\" should be the slug of the parent article.\r\n\r\nFor example:\r\n\r\n* article.md        (the parent article)\r\n* article--one.md   (a sub-article of \"article.md\")\r\n* article--other.md (another sub-article of \"article.md\")\r\n\r\nThe article object gets a list of subparts[].\r\n\r\nThe sub-article object gets the following attributes parent:\r\n\r\n* parent -- Reference to the parent article object.\r\n* title -- Changed to start with the parent article plus a comma.\r\n* subtitle -- The original title of the sub-article.\r\n\r\nSub-articles do not appear in blog indexes or in feeds, but tagged sub-articles appear in tag indexes.\r\n\r\n--\r\n\r\nNOTE: I am quite certain that this pull request is not up to the right standard, because it lacks tests and documentation. However:\r\n\r\n- I would like feedback on whether sub-articles would be a useful feature.\r\n- I could not figure out ant way to have sub-articles as a plugin.\r\n\r\nAlso, I am new to git and to GitHub. Sorry if I did something horribly wrong.","created_at":"2015-02-07T18:35:02Z","updated_at":"2015-04-06T01:51:13Z","closed_at":"2015-04-06T01:51:13Z","merged_at":null,"merge_commit_sha":"0536bacde6f6db449e1c1152885a28fa88f1a295","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/getpelican/pelican/pulls/1617/commits","review_comments_url":"https://api.github.com/repos/getpelican/pelican/pulls/1617/comments","review_comment_url":"https://api.github.com/repos/getpelican/pelican/pulls/comments{/number}","comments_url":"https://api.github.com/repos/getpelican/pelican/issues/1617/comments","statuses_url":"https://api.github.com/repos/getpelican/pelican/statuses/031cad0b004c53477869224a236a9f855deec2f8","head":{"label":"pxquim:sub-articles","ref":"sub-articles","sha":"031cad0b004c53477869224a236a9f855deec2f8","user":{"login":"pxquim","id":10789151,"avatar_url":"https://avatars.githubusercontent.com/u/10789151?v=3","gravatar_id":"","url":"https://api.github.com/users/pxquim","html_url":"https://github.com/pxquim","followers_url":"https://api.github.com/users/pxquim/followers","following_url":"https://api.github.com/users/pxquim/following{/other_user}","gists_url":"https://api.github.com/users/pxquim/gists{/gist_id}","starred_url":"https://api.github.com/users/pxquim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pxquim/subscriptions","organizations_url":"https://api.github.com/users/pxquim/orgs","repos_url":"https://api.github.com/users/pxquim/repos","events_url":"https://api.github.com/users/pxquim/events{/privacy}","received_events_url":"https://api.github.com/users/pxquim/received_events","type":"User","site_admin":false},"repo":{"id":30122603,"name":"pelican","full_name":"pxquim/pelican","owner":{"login":"pxquim","id":10789151,"avatar_url":"https://avatars.githubusercontent.com/u/10789151?v=3","gravatar_id":"","url":"https://api.github.com/users/pxquim","html_url":"https://github.com/pxquim","followers_url":"https://api.github.com/users/pxquim/followers","following_url":"https://api.github.com/users/pxquim/following{/other_user}","gists_url":"https://api.github.com/users/pxquim/gists{/gist_id}","starred_url":"https://api.github.com/users/pxquim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pxquim/subscriptions","organizations_url":"https://api.github.com/users/pxquim/orgs","repos_url":"https://api.github.com/users/pxquim/repos","events_url":"https://api.github.com/users/pxquim/events{/privacy}","received_events_url":"https://api.github.com/users/pxquim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pxquim/pelican","description":"Static site generator that supports Markdown and reST syntax. Powered by Python.","fork":true,"url":"https://api.github.com/repos/pxquim/pelican","forks_url":"https://api.github.com/repos/pxquim/pelican/forks","keys_url":"https://api.github.com/repos/pxquim/pelican/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pxquim/pelican/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pxquim/pelican/teams","hooks_url":"https://api.github.com/repos/pxquim/pelican/hooks","issue_events_url":"https://api.github.com/repos/pxquim/pelican/issues/events{/number}","events_url":"https://api.github.com/repos/pxquim/pelican/events","assignees_url":"https://api.github.com/repos/pxquim/pelican/assignees{/user}","branches_url":"https://api.github.com/repos/pxquim/pelican/branches{/branch}","tags_url":"https://api.github.com/repos/pxquim/pelican/tags","blobs_url":"https://api.github.com/repos/pxquim/pelican/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pxquim/pelican/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pxquim/pelican/git/refs{/sha}","trees_url":"https://api.github.com/repos/pxquim/pelican/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pxquim/pelican/statuses/{sha}","languages_url":"https://api.github.com/repos/pxquim/pelican/languages","stargazers_url":"https://api.github.com/repos/pxquim/pelican/stargazers","contributors_url":"https://api.github.com/repos/pxquim/pelican/contributors","subscribers_url":"https://api.github.com/repos/pxquim/pelican/subscribers","subscription_url":"https://api.github.com/repos/pxquim/pelican/subscription","commits_url":"https://api.github.com/repos/pxquim/pelican/commits{/sha}","git_commits_url":"https://api.github.com/repos/pxquim/pelican/git/commits{/sha}","comments_url":"https://api.github.com/repos/pxquim/pelican/comments{/number}","issue_comment_url":"https://api.github.com/repos/pxquim/pelican/issues/comments{/number}","contents_url":"https://api.github.com/repos/pxquim/pelican/contents/{+path}","compare_url":"https://api.github.com/repos/pxquim/pelican/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pxquim/pelican/merges","archive_url":"https://api.github.com/repos/pxquim/pelican/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pxquim/pelican/downloads","issues_url":"https://api.github.com/repos/pxquim/pelican/issues{/number}","pulls_url":"https://api.github.com/repos/pxquim/pelican/pulls{/number}","milestones_url":"https://api.github.com/repos/pxquim/pelican/milestones{/number}","notifications_url":"https://api.github.com/repos/pxquim/pelican/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pxquim/pelican/labels{/name}","releases_url":"https://api.github.com/repos/pxquim/pelican/releases{/id}","created_at":"2015-01-31T19:00:58Z","updated_at":"2015-03-27T19:20:44Z","pushed_at":"2015-03-27T19:20:43Z","git_url":"git://github.com/pxquim/pelican.git","ssh_url":"git@github.com:pxquim/pelican.git","clone_url":"https://github.com/pxquim/pelican.git","svn_url":"https://github.com/pxquim/pelican","homepage":"http://getpelican.com/","size":5550,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"getpelican:master","ref":"master","sha":"82c629b9c038dc4a953418e594d8e8e9bcd6607a","user":{"login":"getpelican","id":2043492,"avatar_url":"https://avatars.githubusercontent.com/u/2043492?v=3","gravatar_id":"","url":"https://api.github.com/users/getpelican","html_url":"https://github.com/getpelican","followers_url":"https://api.github.com/users/getpelican/followers","following_url":"https://api.github.com/users/getpelican/following{/other_user}","gists_url":"https://api.github.com/users/getpelican/gists{/gist_id}","starred_url":"https://api.github.com/users/getpelican/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getpelican/subscriptions","organizations_url":"https://api.github.com/users/getpelican/orgs","repos_url":"https://api.github.com/users/getpelican/repos","events_url":"https://api.github.com/users/getpelican/events{/privacy}","received_events_url":"https://api.github.com/users/getpelican/received_events","type":"Organization","site_admin":false},"repo":{"id":993110,"name":"pelican","full_name":"getpelican/pelican","owner":{"login":"getpelican","id":2043492,"avatar_url":"https://avatars.githubusercontent.com/u/2043492?v=3","gravatar_id":"","url":"https://api.github.com/users/getpelican","html_url":"https://github.com/getpelican","followers_url":"https://api.github.com/users/getpelican/followers","following_url":"https://api.github.com/users/getpelican/following{/other_user}","gists_url":"https://api.github.com/users/getpelican/gists{/gist_id}","starred_url":"https://api.github.com/users/getpelican/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/getpelican/subscriptions","organizations_url":"https://api.github.com/users/getpelican/orgs","repos_url":"https://api.github.com/users/getpelican/repos","events_url":"https://api.github.com/users/getpelican/events{/privacy}","received_events_url":"https://api.github.com/users/getpelican/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/getpelican/pelican","description":"Static site generator that supports Markdown and reST syntax. Powered by Python.","fork":false,"url":"https://api.github.com/repos/getpelican/pelican","forks_url":"https://api.github.com/repos/getpelican/pelican/forks","keys_url":"https://api.github.com/repos/getpelican/pelican/keys{/key_id}","collaborators_url":"https://api.github.com/repos/getpelican/pelican/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/getpelican/pelican/teams","hooks_url":"https://api.github.com/repos/getpelican/pelican/hooks","issue_events_url":"https://api.github.com/repos/getpelican/pelican/issues/events{/number}","events_url":"https://api.github.com/repos/getpelican/pelican/events","assignees_url":"https://api.github.com/repos/getpelican/pelican/assignees{/user}","branches_url":"https://api.github.com/repos/getpelican/pelican/branches{/branch}","tags_url":"https://api.github.com/repos/getpelican/pelican/tags","blobs_url":"https://api.github.com/repos/getpelican/pelican/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/getpelican/pelican/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/getpelican/pelican/git/refs{/sha}","trees_url":"https://api.github.com/repos/getpelican/pelican/git/trees{/sha}","statuses_url":"https://api.github.com/repos/getpelican/pelican/statuses/{sha}","languages_url":"https://api.github.com/repos/getpelican/pelican/languages","stargazers_url":"https://api.github.com/repos/getpelican/pelican/stargazers","contributors_url":"https://api.github.com/repos/getpelican/pelican/contributors","subscribers_url":"https://api.github.com/repos/getpelican/pelican/subscribers","subscription_url":"https://api.github.com/repos/getpelican/pelican/subscription","commits_url":"https://api.github.com/repos/getpelican/pelican/commits{/sha}","git_commits_url":"https://api.github.com/repos/getpelican/pelican/git/commits{/sha}","comments_url":"https://api.github.com/repos/getpelican/pelican/comments{/number}","issue_comment_url":"https://api.github.com/repos/getpelican/pelican/issues/comments{/number}","contents_url":"https://api.github.com/repos/getpelican/pelican/contents/{+path}","compare_url":"https://api.github.com/repos/getpelican/pelican/compare/{base}...{head}","merges_url":"https://api.github.com/repos/getpelican/pelican/merges","archive_url":"https://api.github.com/repos/getpelican/pelican/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/getpelican/pelican/downloads","issues_url":"https://api.github.com/repos/getpelican/pelican/issues{/number}","pulls_url":"https://api.github.com/repos/getpelican/pelican/pulls{/number}","milestones_url":"https://api.github.com/repos/getpelican/pelican/milestones{/number}","notifications_url":"https://api.github.com/repos/getpelican/pelican/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/getpelican/pelican/labels{/name}","releases_url":"https://api.github.com/repos/getpelican/pelican/releases{/id}","created_at":"2010-10-16T18:57:40Z","updated_at":"2015-04-05T22:12:58Z","pushed_at":"2015-04-05T01:32:05Z","git_url":"git://github.com/getpelican/pelican.git","ssh_url":"git@github.com:getpelican/pelican.git","clone_url":"https://github.com/getpelican/pelican.git","svn_url":"https://github.com/getpelican/pelican","homepage":"http://getpelican.com/","size":13801,"stargazers_count":4477,"watchers_count":4477,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1040,"mirror_url":null,"open_issues_count":148,"forks":1040,"open_issues":148,"watchers":4477,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/getpelican/pelican/pulls/1617"},"html":{"href":"https://github.com/getpelican/pelican/pull/1617"},"issue":{"href":"https://api.github.com/repos/getpelican/pelican/issues/1617"},"comments":{"href":"https://api.github.com/repos/getpelican/pelican/issues/1617/comments"},"review_comments":{"href":"https://api.github.com/repos/getpelican/pelican/pulls/1617/comments"},"review_comment":{"href":"https://api.github.com/repos/getpelican/pelican/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/getpelican/pelican/pulls/1617/commits"},"statuses":{"href":"https://api.github.com/repos/getpelican/pelican/statuses/031cad0b004c53477869224a236a9f855deec2f8"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":6,"review_comments":0,"commits":1,"additions":34,"deletions":2,"changed_files":1}}