{"action":"created","issue":{"url":"https://api.github.com/repos/realworldocaml/book/issues/2983","repository_url":"https://api.github.com/repos/realworldocaml/book","labels_url":"https://api.github.com/repos/realworldocaml/book/issues/2983/labels{/name}","comments_url":"https://api.github.com/repos/realworldocaml/book/issues/2983/comments","events_url":"https://api.github.com/repos/realworldocaml/book/issues/2983/events","html_url":"https://github.com/realworldocaml/book/pull/2983","id":333313254,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NTU4NjM5","number":2983,"title":"[WIP] have one file per chapter","user":{"login":"samoht","id":103693,"node_id":"MDQ6VXNlcjEwMzY5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/103693?v=4","gravatar_id":"","url":"https://api.github.com/users/samoht","html_url":"https://github.com/samoht","followers_url":"https://api.github.com/users/samoht/followers","following_url":"https://api.github.com/users/samoht/following{/other_user}","gists_url":"https://api.github.com/users/samoht/gists{/gist_id}","starred_url":"https://api.github.com/users/samoht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoht/subscriptions","organizations_url":"https://api.github.com/users/samoht/orgs","repos_url":"https://api.github.com/users/samoht/repos","events_url":"https://api.github.com/users/samoht/events{/privacy}","received_events_url":"https://api.github.com/users/samoht/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-18T15:13:34Z","updated_at":"2018-06-18T15:20:12Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/realworldocaml/book/pulls/2983","html_url":"https://github.com/realworldocaml/book/pull/2983","diff_url":"https://github.com/realworldocaml/book/pull/2983.diff","patch_url":"https://github.com/realworldocaml/book/pull/2983.patch"},"body":"This is a work-in-progress branch to convert all the chapter to use only one file: instead of have one `md` file and multiple scripts per chapter, now everything is one one `mlt` file where text and command is interleaved (using a literate programming style).\r\n\r\nThis PR implements only one part of the workflow: convert exiting files to `mlt`. The remaining work is to:\r\n- update ocamltopexect to skip text (e.g. `md` attributes)\r\n- update the tests to execute the mlt files instead of having individual chapter tests\r\n- update the HTML generator to read the mlt file\r\n\r\nNote: one way to be sure we don't break anything would be to keep the current text and examples files, but generate them from the chapter files. Once we are happy with the result, we can remove the intermediate step (or not).\r\n"},"comment":{"url":"https://api.github.com/repos/realworldocaml/book/issues/comments/398091568","html_url":"https://github.com/realworldocaml/book/pull/2983#issuecomment-398091568","issue_url":"https://api.github.com/repos/realworldocaml/book/issues/2983","id":398091568,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODA5MTU2OA==","user":{"login":"samoht","id":103693,"node_id":"MDQ6VXNlcjEwMzY5Mw==","avatar_url":"https://avatars0.githubusercontent.com/u/103693?v=4","gravatar_id":"","url":"https://api.github.com/users/samoht","html_url":"https://github.com/samoht","followers_url":"https://api.github.com/users/samoht/followers","following_url":"https://api.github.com/users/samoht/following{/other_user}","gists_url":"https://api.github.com/users/samoht/gists{/gist_id}","starred_url":"https://api.github.com/users/samoht/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samoht/subscriptions","organizations_url":"https://api.github.com/users/samoht/orgs","repos_url":"https://api.github.com/users/samoht/repos","events_url":"https://api.github.com/users/samoht/events{/privacy}","received_events_url":"https://api.github.com/users/samoht/received_events","type":"User","site_admin":false},"created_at":"2018-06-18T15:20:12Z","updated_at":"2018-06-18T15:20:12Z","author_association":"CONTRIBUTOR","body":"Also, something needs to be done for the current mlt \"headers\", e.g. code which is run before any part, like [here](https://github.com/realworldocaml/book/blob/master/examples/code/fcm/main.mlt#L1-L7)\r\n"}}
{"actor":{"display_login":"samoht"}}