{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/italia/sphinx_italia_theme/pulls/6","id":142634653,"html_url":"https://github.com/italia/sphinx_italia_theme/pull/6","diff_url":"https://github.com/italia/sphinx_italia_theme/pull/6.diff","patch_url":"https://github.com/italia/sphinx_italia_theme/pull/6.patch","issue_url":"https://api.github.com/repos/italia/sphinx_italia_theme/issues/6","number":6,"state":"open","locked":false,"title":"Customize ","user":{"login":"agjohnson","id":1140183,"avatar_url":"https://avatars0.githubusercontent.com/u/1140183?v=4","gravatar_id":"","url":"https://api.github.com/users/agjohnson","html_url":"https://github.com/agjohnson","followers_url":"https://api.github.com/users/agjohnson/followers","following_url":"https://api.github.com/users/agjohnson/following{/other_user}","gists_url":"https://api.github.com/users/agjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/agjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agjohnson/subscriptions","organizations_url":"https://api.github.com/users/agjohnson/orgs","repos_url":"https://api.github.com/users/agjohnson/repos","events_url":"https://api.github.com/users/agjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/agjohnson/received_events","type":"User","site_admin":false},"body":"**Note: this PR is a work in progress. It probably is not in a merge-able state, especially if this repo is currently used for other Sphinx projects.**\r\n\r\nThis is all of the initial work to create a custom Sphinx theme for Team Digitale. This work:\r\n\r\n* Creates a theme with two separate layouts (see documentation for enabling the 'landing' layout, for superprojects)\r\n* Reuses developers.italia.it YAML data, styles, and themes. Themes are forked to be ported to Jinja templates\r\n* Creates a Sphinx extension in the theme, to load the existing data in to the templates. (See __init__.py for data loading)\r\n* Defaults to Italian locale. Data is loaded from the existing Italian YAML translations. All strings are marked as translatable strings in the theme templates. This allows for translators to work exclusively inside Sphinx's localization workflow, using gettext. This is where documentation and template translations will happen.\r\n* Adds a number of theme options for loading data from RTD into the theme. A custom application will trigger rebuild on superprojects for each subproject build -- to keep everything up to date.\r\n\r\nExample of a documentation page:\r\n![image](https://user-images.githubusercontent.com/1140183/30756940-f1f1e196-9f89-11e7-80d2-d28be5426699.png)\r\n\r\n## Still not working\r\n\r\n* Search results page is blank\r\n* Mobile device menu doesn't pop out, missing templates?\r\n\r\n\r\n## Attention needed in styling\r\n\r\n* Translation menu is in wrong location\r\n* Styling of documentation nav menu. Currently it is bare styles, but elements exist\r\n* Landing page layout cards lack styled elements for version etc. Some data from versions is not used yet\r\n\r\n## Future work\r\n\r\nSome work that we probably won't get to with this work, but could be an issue:\r\n\r\n* Reduce complexity and output 1 CSS stylesheet, using source of `build.css`. Remove extraneous SASS sources\r\n* General optimization around re-using files -- the method for bringing in built assets might be better served by using the source SASS/etc.","created_at":"2017-09-22T17:51:17Z","updated_at":"2017-09-22T17:51:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/italia/sphinx_italia_theme/pulls/6/commits","review_comments_url":"https://api.github.com/repos/italia/sphinx_italia_theme/pulls/6/comments","review_comment_url":"https://api.github.com/repos/italia/sphinx_italia_theme/pulls/comments{/number}","comments_url":"https://api.github.com/repos/italia/sphinx_italia_theme/issues/6/comments","statuses_url":"https://api.github.com/repos/italia/sphinx_italia_theme/statuses/57901602b2275e246944162bd2c9c1aa6005ffa3","head":{"label":"agjohnson:landing-page-split","ref":"landing-page-split","sha":"57901602b2275e246944162bd2c9c1aa6005ffa3","user":{"login":"agjohnson","id":1140183,"avatar_url":"https://avatars0.githubusercontent.com/u/1140183?v=4","gravatar_id":"","url":"https://api.github.com/users/agjohnson","html_url":"https://github.com/agjohnson","followers_url":"https://api.github.com/users/agjohnson/followers","following_url":"https://api.github.com/users/agjohnson/following{/other_user}","gists_url":"https://api.github.com/users/agjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/agjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agjohnson/subscriptions","organizations_url":"https://api.github.com/users/agjohnson/orgs","repos_url":"https://api.github.com/users/agjohnson/repos","events_url":"https://api.github.com/users/agjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/agjohnson/received_events","type":"User","site_admin":false},"repo":{"id":103611434,"name":"sphinx_italia_theme","full_name":"agjohnson/sphinx_italia_theme","owner":{"login":"agjohnson","id":1140183,"avatar_url":"https://avatars0.githubusercontent.com/u/1140183?v=4","gravatar_id":"","url":"https://api.github.com/users/agjohnson","html_url":"https://github.com/agjohnson","followers_url":"https://api.github.com/users/agjohnson/followers","following_url":"https://api.github.com/users/agjohnson/following{/other_user}","gists_url":"https://api.github.com/users/agjohnson/gists{/gist_id}","starred_url":"https://api.github.com/users/agjohnson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agjohnson/subscriptions","organizations_url":"https://api.github.com/users/agjohnson/orgs","repos_url":"https://api.github.com/users/agjohnson/repos","events_url":"https://api.github.com/users/agjohnson/events{/privacy}","received_events_url":"https://api.github.com/users/agjohnson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agjohnson/sphinx_italia_theme","description":"Tema per la documentazione Sphinx","fork":true,"url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme","forks_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/forks","keys_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/teams","hooks_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/hooks","issue_events_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/issues/events{/number}","events_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/events","assignees_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/assignees{/user}","branches_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/branches{/branch}","tags_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/tags","blobs_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/statuses/{sha}","languages_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/languages","stargazers_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/stargazers","contributors_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/contributors","subscribers_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/subscribers","subscription_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/subscription","commits_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/contents/{+path}","compare_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/merges","archive_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/downloads","issues_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/issues{/number}","pulls_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/pulls{/number}","milestones_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/milestones{/number}","notifications_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/labels{/name}","releases_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/releases{/id}","deployments_url":"https://api.github.com/repos/agjohnson/sphinx_italia_theme/deployments","created_at":"2017-09-15T03:51:03Z","updated_at":"2017-09-15T03:51:04Z","pushed_at":"2017-09-22T17:23:22Z","git_url":"git://github.com/agjohnson/sphinx_italia_theme.git","ssh_url":"git@github.com:agjohnson/sphinx_italia_theme.git","clone_url":"https://github.com/agjohnson/sphinx_italia_theme.git","svn_url":"https://github.com/agjohnson/sphinx_italia_theme","homepage":null,"size":6147,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"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":"italia"}},"base":{"label":"italia:italia","ref":"italia","sha":"2c693eee1cfbff87117f8f97075d02c1948425a2","user":{"login":"italia","id":15377824,"avatar_url":"https://avatars2.githubusercontent.com/u/15377824?v=4","gravatar_id":"","url":"https://api.github.com/users/italia","html_url":"https://github.com/italia","followers_url":"https://api.github.com/users/italia/followers","following_url":"https://api.github.com/users/italia/following{/other_user}","gists_url":"https://api.github.com/users/italia/gists{/gist_id}","starred_url":"https://api.github.com/users/italia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/italia/subscriptions","organizations_url":"https://api.github.com/users/italia/orgs","repos_url":"https://api.github.com/users/italia/repos","events_url":"https://api.github.com/users/italia/events{/privacy}","received_events_url":"https://api.github.com/users/italia/received_events","type":"Organization","site_admin":false},"repo":{"id":84877249,"name":"sphinx_italia_theme","full_name":"italia/sphinx_italia_theme","owner":{"login":"italia","id":15377824,"avatar_url":"https://avatars2.githubusercontent.com/u/15377824?v=4","gravatar_id":"","url":"https://api.github.com/users/italia","html_url":"https://github.com/italia","followers_url":"https://api.github.com/users/italia/followers","following_url":"https://api.github.com/users/italia/following{/other_user}","gists_url":"https://api.github.com/users/italia/gists{/gist_id}","starred_url":"https://api.github.com/users/italia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/italia/subscriptions","organizations_url":"https://api.github.com/users/italia/orgs","repos_url":"https://api.github.com/users/italia/repos","events_url":"https://api.github.com/users/italia/events{/privacy}","received_events_url":"https://api.github.com/users/italia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/italia/sphinx_italia_theme","description":"Tema per la documentazione Sphinx","fork":false,"url":"https://api.github.com/repos/italia/sphinx_italia_theme","forks_url":"https://api.github.com/repos/italia/sphinx_italia_theme/forks","keys_url":"https://api.github.com/repos/italia/sphinx_italia_theme/keys{/key_id}","collaborators_url":"https://api.github.com/repos/italia/sphinx_italia_theme/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/italia/sphinx_italia_theme/teams","hooks_url":"https://api.github.com/repos/italia/sphinx_italia_theme/hooks","issue_events_url":"https://api.github.com/repos/italia/sphinx_italia_theme/issues/events{/number}","events_url":"https://api.github.com/repos/italia/sphinx_italia_theme/events","assignees_url":"https://api.github.com/repos/italia/sphinx_italia_theme/assignees{/user}","branches_url":"https://api.github.com/repos/italia/sphinx_italia_theme/branches{/branch}","tags_url":"https://api.github.com/repos/italia/sphinx_italia_theme/tags","blobs_url":"https://api.github.com/repos/italia/sphinx_italia_theme/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/italia/sphinx_italia_theme/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/italia/sphinx_italia_theme/git/refs{/sha}","trees_url":"https://api.github.com/repos/italia/sphinx_italia_theme/git/trees{/sha}","statuses_url":"https://api.github.com/repos/italia/sphinx_italia_theme/statuses/{sha}","languages_url":"https://api.github.com/repos/italia/sphinx_italia_theme/languages","stargazers_url":"https://api.github.com/repos/italia/sphinx_italia_theme/stargazers","contributors_url":"https://api.github.com/repos/italia/sphinx_italia_theme/contributors","subscribers_url":"https://api.github.com/repos/italia/sphinx_italia_theme/subscribers","subscription_url":"https://api.github.com/repos/italia/sphinx_italia_theme/subscription","commits_url":"https://api.github.com/repos/italia/sphinx_italia_theme/commits{/sha}","git_commits_url":"https://api.github.com/repos/italia/sphinx_italia_theme/git/commits{/sha}","comments_url":"https://api.github.com/repos/italia/sphinx_italia_theme/comments{/number}","issue_comment_url":"https://api.github.com/repos/italia/sphinx_italia_theme/issues/comments{/number}","contents_url":"https://api.github.com/repos/italia/sphinx_italia_theme/contents/{+path}","compare_url":"https://api.github.com/repos/italia/sphinx_italia_theme/compare/{base}...{head}","merges_url":"https://api.github.com/repos/italia/sphinx_italia_theme/merges","archive_url":"https://api.github.com/repos/italia/sphinx_italia_theme/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/italia/sphinx_italia_theme/downloads","issues_url":"https://api.github.com/repos/italia/sphinx_italia_theme/issues{/number}","pulls_url":"https://api.github.com/repos/italia/sphinx_italia_theme/pulls{/number}","milestones_url":"https://api.github.com/repos/italia/sphinx_italia_theme/milestones{/number}","notifications_url":"https://api.github.com/repos/italia/sphinx_italia_theme/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/italia/sphinx_italia_theme/labels{/name}","releases_url":"https://api.github.com/repos/italia/sphinx_italia_theme/releases{/id}","deployments_url":"https://api.github.com/repos/italia/sphinx_italia_theme/deployments","created_at":"2017-03-13T21:40:34Z","updated_at":"2017-06-07T17:00:50Z","pushed_at":"2017-08-01T20:29:58Z","git_url":"git://github.com/italia/sphinx_italia_theme.git","ssh_url":"git@github.com:italia/sphinx_italia_theme.git","clone_url":"https://github.com/italia/sphinx_italia_theme.git","svn_url":"https://github.com/italia/sphinx_italia_theme","homepage":null,"size":4449,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":3,"default_branch":"italia"}},"_links":{"self":{"href":"https://api.github.com/repos/italia/sphinx_italia_theme/pulls/6"},"html":{"href":"https://github.com/italia/sphinx_italia_theme/pull/6"},"issue":{"href":"https://api.github.com/repos/italia/sphinx_italia_theme/issues/6"},"comments":{"href":"https://api.github.com/repos/italia/sphinx_italia_theme/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/italia/sphinx_italia_theme/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/italia/sphinx_italia_theme/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/italia/sphinx_italia_theme/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/italia/sphinx_italia_theme/statuses/57901602b2275e246944162bd2c9c1aa6005ffa3"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":12,"additions":16958,"deletions":6990,"changed_files":415}}
{"actor":{"display_login":"agjohnson"}}