{"action":"created","issue":{"url":"https://api.github.com/repos/macite/splashkit/issues/1","labels_url":"https://api.github.com/repos/macite/splashkit/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/macite/splashkit/issues/1/comments","events_url":"https://api.github.com/repos/macite/splashkit/issues/1/events","html_url":"https://github.com/macite/splashkit/pull/1","id":120627885,"number":1,"title":"Refactor website under Middleman framework","user":{"login":"alexcu","id":1430592,"avatar_url":"https://avatars.githubusercontent.com/u/1430592?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcu","html_url":"https://github.com/alexcu","followers_url":"https://api.github.com/users/alexcu/followers","following_url":"https://api.github.com/users/alexcu/following{/other_user}","gists_url":"https://api.github.com/users/alexcu/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcu/subscriptions","organizations_url":"https://api.github.com/users/alexcu/orgs","repos_url":"https://api.github.com/users/alexcu/repos","events_url":"https://api.github.com/users/alexcu/events{/privacy}","received_events_url":"https://api.github.com/users/alexcu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-06T11:33:52Z","updated_at":"2015-12-06T22:03:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/macite/splashkit/pulls/1","html_url":"https://github.com/macite/splashkit/pull/1","diff_url":"https://github.com/macite/splashkit/pull/1.diff","patch_url":"https://github.com/macite/splashkit/pull/1.patch"},"body":"This pull request changes the underlying framework of the website from Jekyll to [Middleman](http://middlemanapp.com) to improve the operability with Ruby. This will improve the website by primarily through the use of helper functions. A list of major changes are described below:\r\n\r\n### Support for code snippets via the `code_snippet` helper function\r\n\r\nA new `code_snippet` helper function can be used to automatically generate tabs with each language in markdown files. Refer to https://github.com/macite/splashkit/commit/1453eb5b5bb22000431f964fff4c6771a02c19bc. At present, this uses GitHub gists to resolve the examples, but this can be changed later on. The gists could provide a centralised place to store all snippets—the gist information is read out of the `data/code_snippets.yml` file.\r\n\r\n```erb\r\n<div> <!-- wrap HTML in a div -->\r\n    <%= code_snippet data.code_snippets.getting_started.gist_id, data.code_snippets.getting_started.filename %>\r\n</div>\r\n```\r\n\r\n### GitHub-flavoured Markdown\r\n\r\nYou can insert code using GitHub-flavoured Markdown. E.g.\r\n\r\n    ```ruby\r\n    puts \"Look at my ruby code!\"\r\n    ````\r\n\r\n### Directory indexes are added for \"pretty\" urls\r\n\r\nFrom now on, directory indexes are used for pretty urls. E.g.:\r\n\r\n```\r\nfoo/bar/qux.md.erb\r\n```\r\n\r\nmaps to\r\n\r\n```\r\nfoo/bar/qux/\r\n```\r\n\r\n### Webpage titles are automatically generated based on the sitemap\r\n\r\nThe `<title>` tag will be generated based on the URL. E.g.:\r\n\r\n```\r\ndocs/getting-started/index.html\r\n```\r\n\r\nwill generate a page title of\r\n\r\n```\r\nDocs - Getting Started\r\n```\r\n\r\nThis is always added to `SplashKit` so that `SplashKit` remains prefixed to all titles.\r\n\r\nIn the case of `/index.html`, 'Home' is appended instead.\r\n\r\n### Other changes:\r\n\r\n- Font-Awesome is added\r\n- SASS support"},"comment":{"url":"https://api.github.com/repos/macite/splashkit/issues/comments/162352847","html_url":"https://github.com/macite/splashkit/pull/1#issuecomment-162352847","issue_url":"https://api.github.com/repos/macite/splashkit/issues/1","id":162352847,"user":{"login":"alexcu","id":1430592,"avatar_url":"https://avatars.githubusercontent.com/u/1430592?v=3","gravatar_id":"","url":"https://api.github.com/users/alexcu","html_url":"https://github.com/alexcu","followers_url":"https://api.github.com/users/alexcu/followers","following_url":"https://api.github.com/users/alexcu/following{/other_user}","gists_url":"https://api.github.com/users/alexcu/gists{/gist_id}","starred_url":"https://api.github.com/users/alexcu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexcu/subscriptions","organizations_url":"https://api.github.com/users/alexcu/orgs","repos_url":"https://api.github.com/users/alexcu/repos","events_url":"https://api.github.com/users/alexcu/events{/privacy}","received_events_url":"https://api.github.com/users/alexcu/received_events","type":"User","site_admin":false},"created_at":"2015-12-06T22:03:34Z","updated_at":"2015-12-06T22:03:34Z","body":"Sounds good. Can help out with that."}}