{"action":"closed","number":131,"pull_request":{"url":"https://api.github.com/repos/fsprojects/Fable/pulls/131","id":70448474,"html_url":"https://github.com/fsprojects/Fable/pull/131","diff_url":"https://github.com/fsprojects/Fable/pull/131.diff","patch_url":"https://github.com/fsprojects/Fable/pull/131.patch","issue_url":"https://api.github.com/repos/fsprojects/Fable/issues/131","number":131,"state":"closed","locked":false,"title":"New Fable website!","user":{"login":"tpetricek","id":485413,"avatar_url":"https://avatars.githubusercontent.com/u/485413?v=3","gravatar_id":"","url":"https://api.github.com/users/tpetricek","html_url":"https://github.com/tpetricek","followers_url":"https://api.github.com/users/tpetricek/followers","following_url":"https://api.github.com/users/tpetricek/following{/other_user}","gists_url":"https://api.github.com/users/tpetricek/gists{/gist_id}","starred_url":"https://api.github.com/users/tpetricek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpetricek/subscriptions","organizations_url":"https://api.github.com/users/tpetricek/orgs","repos_url":"https://api.github.com/users/tpetricek/repos","events_url":"https://api.github.com/users/tpetricek/events{/privacy}","received_events_url":"https://api.github.com/users/tpetricek/received_events","type":"User","site_admin":false},"body":"For now, you can see the result at: http://tpetricek.github.io/Fable.\r\n\r\nAll documentation related stuff is in the `docs` folder. There is:\r\n\r\n - `docs.fsx` together with `liquid.fs` and `helpers.fs` generates the documentation \r\n - `templates` contains DotLiquid templates for the page look \r\n - `source` is the source for the documentation. This can contain static files (just copied to the output directory), Markdown files (formatted and passed to the `content.html` template) and HTML files (that can specify formatting using DotLiquid header - see `index.html` for example).\r\n - `source/content` contains some JS for tooltips and CSS styles\r\n - `source/docs` contains the original Fable docs (Markdown) with some tweaks\r\n\r\nIn `paket.dependencies`, I added a separate group for the docs, because this might need different version of `FSharp.Compiler.Service.dll` than the one Fable compiler needs. For this reason, `docs.fsx` is a separate build script. It is invoked from main `build.fsx` by spawning a new copy of FAKE. There are two targets:\r\n\r\n - `PublishDocs` processes all documentation and pushes it to gh-pages\r\n - `GenerateDocs` processes all documentation but does not push it\r\n - `BrowseDocs` starts a server on localhost and opens the docs. It supports neat live reloading :). This does not recompile all samples, because that can take quite long.\r\n\r\nThey are stand-alone, but I suppose you can add `\"PublishDocs\" ==> \"Publish\"` to release docs on every release!\r\n\r\nIn the samples and in the documentation, the file always starts with a Markdown list that specifies some meta data about the item. For samples, this is CSS for the embedded JS app, title & tagline for the page (passed to DotLiquid via \"model\" object) etc. For documentation, this is again the title & tagline that appear in the purple box.\r\n\r\nI only did this for a couple of the samples (Mario, Hokusai, Ozmo, Pacman for the browser and Express and Server from the nodejs samples), but it would be really nice to add more \"ordinary\" things like the TodoMvc or event the Electron demo. But I guess others can contribute now too :-)\r\n","created_at":"2016-05-17T23:37:38Z","updated_at":"2016-05-18T07:35:57Z","closed_at":"2016-05-18T07:35:57Z","merged_at":"2016-05-18T07:35:57Z","merge_commit_sha":"9946b48baa565ddfb6a96253e6a9c95011313057","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fsprojects/Fable/pulls/131/commits","review_comments_url":"https://api.github.com/repos/fsprojects/Fable/pulls/131/comments","review_comment_url":"https://api.github.com/repos/fsprojects/Fable/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fsprojects/Fable/issues/131/comments","statuses_url":"https://api.github.com/repos/fsprojects/Fable/statuses/154b11687e12dc13c9be8aefbe530da46d72117f","head":{"label":"tpetricek:master","ref":"master","sha":"154b11687e12dc13c9be8aefbe530da46d72117f","user":{"login":"tpetricek","id":485413,"avatar_url":"https://avatars.githubusercontent.com/u/485413?v=3","gravatar_id":"","url":"https://api.github.com/users/tpetricek","html_url":"https://github.com/tpetricek","followers_url":"https://api.github.com/users/tpetricek/followers","following_url":"https://api.github.com/users/tpetricek/following{/other_user}","gists_url":"https://api.github.com/users/tpetricek/gists{/gist_id}","starred_url":"https://api.github.com/users/tpetricek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpetricek/subscriptions","organizations_url":"https://api.github.com/users/tpetricek/orgs","repos_url":"https://api.github.com/users/tpetricek/repos","events_url":"https://api.github.com/users/tpetricek/events{/privacy}","received_events_url":"https://api.github.com/users/tpetricek/received_events","type":"User","site_admin":false},"repo":{"id":58823877,"name":"Fable","full_name":"tpetricek/Fable","owner":{"login":"tpetricek","id":485413,"avatar_url":"https://avatars.githubusercontent.com/u/485413?v=3","gravatar_id":"","url":"https://api.github.com/users/tpetricek","html_url":"https://github.com/tpetricek","followers_url":"https://api.github.com/users/tpetricek/followers","following_url":"https://api.github.com/users/tpetricek/following{/other_user}","gists_url":"https://api.github.com/users/tpetricek/gists{/gist_id}","starred_url":"https://api.github.com/users/tpetricek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tpetricek/subscriptions","organizations_url":"https://api.github.com/users/tpetricek/orgs","repos_url":"https://api.github.com/users/tpetricek/repos","events_url":"https://api.github.com/users/tpetricek/events{/privacy}","received_events_url":"https://api.github.com/users/tpetricek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tpetricek/Fable","description":"F# to JavaScript Compiler","fork":true,"url":"https://api.github.com/repos/tpetricek/Fable","forks_url":"https://api.github.com/repos/tpetricek/Fable/forks","keys_url":"https://api.github.com/repos/tpetricek/Fable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tpetricek/Fable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tpetricek/Fable/teams","hooks_url":"https://api.github.com/repos/tpetricek/Fable/hooks","issue_events_url":"https://api.github.com/repos/tpetricek/Fable/issues/events{/number}","events_url":"https://api.github.com/repos/tpetricek/Fable/events","assignees_url":"https://api.github.com/repos/tpetricek/Fable/assignees{/user}","branches_url":"https://api.github.com/repos/tpetricek/Fable/branches{/branch}","tags_url":"https://api.github.com/repos/tpetricek/Fable/tags","blobs_url":"https://api.github.com/repos/tpetricek/Fable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tpetricek/Fable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tpetricek/Fable/git/refs{/sha}","trees_url":"https://api.github.com/repos/tpetricek/Fable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tpetricek/Fable/statuses/{sha}","languages_url":"https://api.github.com/repos/tpetricek/Fable/languages","stargazers_url":"https://api.github.com/repos/tpetricek/Fable/stargazers","contributors_url":"https://api.github.com/repos/tpetricek/Fable/contributors","subscribers_url":"https://api.github.com/repos/tpetricek/Fable/subscribers","subscription_url":"https://api.github.com/repos/tpetricek/Fable/subscription","commits_url":"https://api.github.com/repos/tpetricek/Fable/commits{/sha}","git_commits_url":"https://api.github.com/repos/tpetricek/Fable/git/commits{/sha}","comments_url":"https://api.github.com/repos/tpetricek/Fable/comments{/number}","issue_comment_url":"https://api.github.com/repos/tpetricek/Fable/issues/comments{/number}","contents_url":"https://api.github.com/repos/tpetricek/Fable/contents/{+path}","compare_url":"https://api.github.com/repos/tpetricek/Fable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tpetricek/Fable/merges","archive_url":"https://api.github.com/repos/tpetricek/Fable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tpetricek/Fable/downloads","issues_url":"https://api.github.com/repos/tpetricek/Fable/issues{/number}","pulls_url":"https://api.github.com/repos/tpetricek/Fable/pulls{/number}","milestones_url":"https://api.github.com/repos/tpetricek/Fable/milestones{/number}","notifications_url":"https://api.github.com/repos/tpetricek/Fable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tpetricek/Fable/labels{/name}","releases_url":"https://api.github.com/repos/tpetricek/Fable/releases{/id}","deployments_url":"https://api.github.com/repos/tpetricek/Fable/deployments","created_at":"2016-05-14T18:31:19Z","updated_at":"2016-05-14T18:31:20Z","pushed_at":"2016-05-18T00:35:33Z","git_url":"git://github.com/tpetricek/Fable.git","ssh_url":"git@github.com:tpetricek/Fable.git","clone_url":"https://github.com/tpetricek/Fable.git","svn_url":"https://github.com/tpetricek/Fable","homepage":null,"size":9405,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fsprojects:master","ref":"master","sha":"9faca6427521f3aa44fc3e6a6295358bb67ffd3d","user":{"login":"fsprojects","id":6001315,"avatar_url":"https://avatars.githubusercontent.com/u/6001315?v=3","gravatar_id":"","url":"https://api.github.com/users/fsprojects","html_url":"https://github.com/fsprojects","followers_url":"https://api.github.com/users/fsprojects/followers","following_url":"https://api.github.com/users/fsprojects/following{/other_user}","gists_url":"https://api.github.com/users/fsprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/fsprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsprojects/subscriptions","organizations_url":"https://api.github.com/users/fsprojects/orgs","repos_url":"https://api.github.com/users/fsprojects/repos","events_url":"https://api.github.com/users/fsprojects/events{/privacy}","received_events_url":"https://api.github.com/users/fsprojects/received_events","type":"Organization","site_admin":false},"repo":{"id":49417923,"name":"Fable","full_name":"fsprojects/Fable","owner":{"login":"fsprojects","id":6001315,"avatar_url":"https://avatars.githubusercontent.com/u/6001315?v=3","gravatar_id":"","url":"https://api.github.com/users/fsprojects","html_url":"https://github.com/fsprojects","followers_url":"https://api.github.com/users/fsprojects/followers","following_url":"https://api.github.com/users/fsprojects/following{/other_user}","gists_url":"https://api.github.com/users/fsprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/fsprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fsprojects/subscriptions","organizations_url":"https://api.github.com/users/fsprojects/orgs","repos_url":"https://api.github.com/users/fsprojects/repos","events_url":"https://api.github.com/users/fsprojects/events{/privacy}","received_events_url":"https://api.github.com/users/fsprojects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fsprojects/Fable","description":"F# to JavaScript Compiler","fork":false,"url":"https://api.github.com/repos/fsprojects/Fable","forks_url":"https://api.github.com/repos/fsprojects/Fable/forks","keys_url":"https://api.github.com/repos/fsprojects/Fable/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fsprojects/Fable/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fsprojects/Fable/teams","hooks_url":"https://api.github.com/repos/fsprojects/Fable/hooks","issue_events_url":"https://api.github.com/repos/fsprojects/Fable/issues/events{/number}","events_url":"https://api.github.com/repos/fsprojects/Fable/events","assignees_url":"https://api.github.com/repos/fsprojects/Fable/assignees{/user}","branches_url":"https://api.github.com/repos/fsprojects/Fable/branches{/branch}","tags_url":"https://api.github.com/repos/fsprojects/Fable/tags","blobs_url":"https://api.github.com/repos/fsprojects/Fable/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fsprojects/Fable/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fsprojects/Fable/git/refs{/sha}","trees_url":"https://api.github.com/repos/fsprojects/Fable/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fsprojects/Fable/statuses/{sha}","languages_url":"https://api.github.com/repos/fsprojects/Fable/languages","stargazers_url":"https://api.github.com/repos/fsprojects/Fable/stargazers","contributors_url":"https://api.github.com/repos/fsprojects/Fable/contributors","subscribers_url":"https://api.github.com/repos/fsprojects/Fable/subscribers","subscription_url":"https://api.github.com/repos/fsprojects/Fable/subscription","commits_url":"https://api.github.com/repos/fsprojects/Fable/commits{/sha}","git_commits_url":"https://api.github.com/repos/fsprojects/Fable/git/commits{/sha}","comments_url":"https://api.github.com/repos/fsprojects/Fable/comments{/number}","issue_comment_url":"https://api.github.com/repos/fsprojects/Fable/issues/comments{/number}","contents_url":"https://api.github.com/repos/fsprojects/Fable/contents/{+path}","compare_url":"https://api.github.com/repos/fsprojects/Fable/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fsprojects/Fable/merges","archive_url":"https://api.github.com/repos/fsprojects/Fable/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fsprojects/Fable/downloads","issues_url":"https://api.github.com/repos/fsprojects/Fable/issues{/number}","pulls_url":"https://api.github.com/repos/fsprojects/Fable/pulls{/number}","milestones_url":"https://api.github.com/repos/fsprojects/Fable/milestones{/number}","notifications_url":"https://api.github.com/repos/fsprojects/Fable/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fsprojects/Fable/labels{/name}","releases_url":"https://api.github.com/repos/fsprojects/Fable/releases{/id}","deployments_url":"https://api.github.com/repos/fsprojects/Fable/deployments","created_at":"2016-01-11T10:10:13Z","updated_at":"2016-05-18T05:37:58Z","pushed_at":"2016-05-18T07:35:57Z","git_url":"git://github.com/fsprojects/Fable.git","ssh_url":"git@github.com:fsprojects/Fable.git","clone_url":"https://github.com/fsprojects/Fable.git","svn_url":"https://github.com/fsprojects/Fable","homepage":null,"size":9458,"stargazers_count":226,"watchers_count":226,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":24,"mirror_url":null,"open_issues_count":9,"forks":24,"open_issues":9,"watchers":226,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fsprojects/Fable/pulls/131"},"html":{"href":"https://github.com/fsprojects/Fable/pull/131"},"issue":{"href":"https://api.github.com/repos/fsprojects/Fable/issues/131"},"comments":{"href":"https://api.github.com/repos/fsprojects/Fable/issues/131/comments"},"review_comments":{"href":"https://api.github.com/repos/fsprojects/Fable/pulls/131/comments"},"review_comment":{"href":"https://api.github.com/repos/fsprojects/Fable/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fsprojects/Fable/pulls/131/commits"},"statuses":{"href":"https://api.github.com/repos/fsprojects/Fable/statuses/154b11687e12dc13c9be8aefbe530da46d72117f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"alfonsogarciacaro","id":8275461,"avatar_url":"https://avatars.githubusercontent.com/u/8275461?v=3","gravatar_id":"","url":"https://api.github.com/users/alfonsogarciacaro","html_url":"https://github.com/alfonsogarciacaro","followers_url":"https://api.github.com/users/alfonsogarciacaro/followers","following_url":"https://api.github.com/users/alfonsogarciacaro/following{/other_user}","gists_url":"https://api.github.com/users/alfonsogarciacaro/gists{/gist_id}","starred_url":"https://api.github.com/users/alfonsogarciacaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfonsogarciacaro/subscriptions","organizations_url":"https://api.github.com/users/alfonsogarciacaro/orgs","repos_url":"https://api.github.com/users/alfonsogarciacaro/repos","events_url":"https://api.github.com/users/alfonsogarciacaro/events{/privacy}","received_events_url":"https://api.github.com/users/alfonsogarciacaro/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":7,"additions":2467,"deletions":528,"changed_files":42}}