{"action":"created","issue":{"url":"https://api.github.com/repos/fable-compiler/fable-graphics/issues/2","repository_url":"https://api.github.com/repos/fable-compiler/fable-graphics","labels_url":"https://api.github.com/repos/fable-compiler/fable-graphics/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/fable-compiler/fable-graphics/issues/2/comments","events_url":"https://api.github.com/repos/fable-compiler/fable-graphics/issues/2/events","html_url":"https://github.com/fable-compiler/fable-graphics/pull/2","id":173664659,"number":2,"title":"[WIP] Not ready : Feature/docs","user":{"login":"MangelMaxime","id":4760796,"avatar_url":"https://avatars.githubusercontent.com/u/4760796?v=3","gravatar_id":"","url":"https://api.github.com/users/MangelMaxime","html_url":"https://github.com/MangelMaxime","followers_url":"https://api.github.com/users/MangelMaxime/followers","following_url":"https://api.github.com/users/MangelMaxime/following{/other_user}","gists_url":"https://api.github.com/users/MangelMaxime/gists{/gist_id}","starred_url":"https://api.github.com/users/MangelMaxime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MangelMaxime/subscriptions","organizations_url":"https://api.github.com/users/MangelMaxime/orgs","repos_url":"https://api.github.com/users/MangelMaxime/repos","events_url":"https://api.github.com/users/MangelMaxime/events{/privacy}","received_events_url":"https://api.github.com/users/MangelMaxime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":31,"created_at":"2016-08-28T20:05:15Z","updated_at":"2016-08-31T11:48:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fable-compiler/fable-graphics/pulls/2","html_url":"https://github.com/fable-compiler/fable-graphics/pull/2","diff_url":"https://github.com/fable-compiler/fable-graphics/pull/2.diff","patch_url":"https://github.com/fable-compiler/fable-graphics/pull/2.patch"},"body":"Here is what I am thinking about adding samples + documentation on this repo.\r\nFirst, the docs folder is for all the repo (not only for pixi in our case).\r\n\r\n## Repo structure\r\n\r\nI have been testing severals structure for the repo and here is the last one I have push on this PR:\r\n\r\n1. Have all the bindings in the bindings directory\r\n2. Docs, is for all the repo\r\n3. Have samples in the samples directory. Use subdirectory to group by binding (currently not reflected by the files)\r\n\r\n## Docs structure\r\n\r\nFor the moment it's still pretty rough.\r\n\r\nTarget is to have an index page which present the repo with the different bindings.\r\nAdd a link, in each bindings section to the samples page for this binding.\r\n\r\n*Of course, these are just suggestions.*\r\n\r\n## Questions\r\n\r\nShould we follow the strucutre of virtual-dom where each samples are independants ?\r\nOr try to do something like @whitetigle did in his repo ?\r\n\r\nFirst solutions can lead to have Severals time the same assets.\r\nThe second solutions, is less flexible I think.\r\n\r\nPersonaly I would go for the first one.\r\n\r\n@alfonsogarciacaro For the moment, the docs.fsx file is working like the one from virtual-dom.\r\n\r\nI have two problems:\r\n1. I need to put the samples directly at the root of the samples forlder.\r\nI have `samples/basic` and I would like `samples/pixi/basic`.\r\n\r\n2. I don't understand how to make the sample interactive.\r\n\r\nPlease, could you help me with this ?\r\n\r\n------------------\r\n## Edit part to track todos:\r\n\r\n- [X] Fix basic generation of the docs\r\n- [x] Add custom output folder path\r\n- [x] Add documentation on how to structure an example to be interactive and what are the conventions used.\r\n- [ ] Do some styling on the documentation output.\r\n- [ ] Add more samples to show how to write literal samples.\r\n"},"comment":{"url":"https://api.github.com/repos/fable-compiler/fable-graphics/issues/comments/243740097","html_url":"https://github.com/fable-compiler/fable-graphics/pull/2#issuecomment-243740097","issue_url":"https://api.github.com/repos/fable-compiler/fable-graphics/issues/2","id":243740097,"user":{"login":"whitetigle","id":883207,"avatar_url":"https://avatars.githubusercontent.com/u/883207?v=3","gravatar_id":"","url":"https://api.github.com/users/whitetigle","html_url":"https://github.com/whitetigle","followers_url":"https://api.github.com/users/whitetigle/followers","following_url":"https://api.github.com/users/whitetigle/following{/other_user}","gists_url":"https://api.github.com/users/whitetigle/gists{/gist_id}","starred_url":"https://api.github.com/users/whitetigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitetigle/subscriptions","organizations_url":"https://api.github.com/users/whitetigle/orgs","repos_url":"https://api.github.com/users/whitetigle/repos","events_url":"https://api.github.com/users/whitetigle/events{/privacy}","received_events_url":"https://api.github.com/users/whitetigle/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T11:48:23Z","updated_at":"2016-08-31T11:48:23Z","body":"OK, every sample displays fine but 2. I have to investigate why. But It should not be a serious issue."}}
{"actor":{"display_login":"whitetigle"}}