{"action":"created","issue":{"url":"https://api.github.com/repos/ocaml/odoc/issues/131","repository_url":"https://api.github.com/repos/ocaml/odoc","labels_url":"https://api.github.com/repos/ocaml/odoc/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/ocaml/odoc/issues/131/comments","events_url":"https://api.github.com/repos/ocaml/odoc/issues/131/events","html_url":"https://github.com/ocaml/odoc/issues/131","id":315217616,"number":131,"title":"Support multiple project versions and version switching","user":{"login":"aantron","id":12073668,"avatar_url":"https://avatars2.githubusercontent.com/u/12073668?v=4","gravatar_id":"","url":"https://api.github.com/users/aantron","html_url":"https://github.com/aantron","followers_url":"https://api.github.com/users/aantron/followers","following_url":"https://api.github.com/users/aantron/following{/other_user}","gists_url":"https://api.github.com/users/aantron/gists{/gist_id}","starred_url":"https://api.github.com/users/aantron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aantron/subscriptions","organizations_url":"https://api.github.com/users/aantron/orgs","repos_url":"https://api.github.com/users/aantron/repos","events_url":"https://api.github.com/users/aantron/events{/privacy}","received_events_url":"https://api.github.com/users/aantron/received_events","type":"User","site_admin":false},"labels":[{"id":449131394,"url":"https://api.github.com/repos/ocaml/odoc/labels/html","name":"html","color":"daf2de","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-17T20:26:31Z","updated_at":"2018-04-19T20:41:03Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This is a pretty standard and useful feature of most doc websites and generators, and we should probably make sure to support it.\r\n\r\nhttps://discuss.ocaml.org/t/1841/56"},"comment":{"url":"https://api.github.com/repos/ocaml/odoc/issues/comments/382873947","html_url":"https://github.com/ocaml/odoc/issues/131#issuecomment-382873947","issue_url":"https://api.github.com/repos/ocaml/odoc/issues/131","id":382873947,"user":{"login":"lpw25","id":2631210,"avatar_url":"https://avatars2.githubusercontent.com/u/2631210?v=4","gravatar_id":"","url":"https://api.github.com/users/lpw25","html_url":"https://github.com/lpw25","followers_url":"https://api.github.com/users/lpw25/followers","following_url":"https://api.github.com/users/lpw25/following{/other_user}","gists_url":"https://api.github.com/users/lpw25/gists{/gist_id}","starred_url":"https://api.github.com/users/lpw25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpw25/subscriptions","organizations_url":"https://api.github.com/users/lpw25/orgs","repos_url":"https://api.github.com/users/lpw25/repos","events_url":"https://api.github.com/users/lpw25/events{/privacy}","received_events_url":"https://api.github.com/users/lpw25/received_events","type":"User","site_admin":false},"created_at":"2018-04-19T20:41:03Z","updated_at":"2018-04-19T20:41:03Z","author_association":"CONTRIBUTOR","body":"I would just note that this is more complicated than it appears, at least for the use case of a big docs repo like the proposed docs.ocaml.org. You may well need a nix-style hash of all the dependency versions if you want to ensure that there are no dead links. For example, if package `foo` has a module whose module type comes from package `bar` at package `baz` has a path that refers to something in that module, then `baz` needs to link into the documentation for `foo` compiled with the same version of `bar`.\r\n\r\nOf course it could well be worth providing less complete version handling than that in the short-term for the use case of people generating their own documentation."}}
{"actor":{"display_login":"lpw25"}}