{"action":"opened","issue":{"url":"https://api.github.com/repos/erldocs/erldocs/issues/26","labels_url":"https://api.github.com/repos/erldocs/erldocs/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/erldocs/erldocs/issues/26/comments","events_url":"https://api.github.com/repos/erldocs/erldocs/issues/26/events","html_url":"https://github.com/erldocs/erldocs/issues/26","id":108421516,"number":26,"title":"Bring -specs back to the erlang module (and maybe others?)","user":{"login":"fenollp","id":278727,"avatar_url":"https://avatars.githubusercontent.com/u/278727?v=3","gravatar_id":"","url":"https://api.github.com/users/fenollp","html_url":"https://github.com/fenollp","followers_url":"https://api.github.com/users/fenollp/followers","following_url":"https://api.github.com/users/fenollp/following{/other_user}","gists_url":"https://api.github.com/users/fenollp/gists{/gist_id}","starred_url":"https://api.github.com/users/fenollp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenollp/subscriptions","organizations_url":"https://api.github.com/users/fenollp/orgs","repos_url":"https://api.github.com/users/fenollp/repos","events_url":"https://api.github.com/users/fenollp/events{/privacy}","received_events_url":"https://api.github.com/users/fenollp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-25T23:07:16Z","updated_at":"2015-09-25T23:07:16Z","closed_at":null,"body":"For some time `erlang` module's specs didn't show up, then it got fixed and now they're hiding again!\r\n\r\nExpected: http://erldocs.com/18.0/stdlib/lists.html?i=9&search=lists#all/2\r\nGot: http://erldocs.com/18.0/erts/erlang.html?i=1&search=send_after#send_after/4\r\nDifference:\r\n* the first has a fully detailed spec\r\n* the second only has arity information\r\n\r\nI believe it has something to do with the way the spec tree is browsed\r\n* starting [here](https://github.com/erldocs/erldocs/blob/master/src/erldocs_core.erl#L314),\r\n* but also maybe something to do with [handling multiple clauses?](https://github.com/erldocs/erldocs/blob/master/src/erldocs_core.erl#L382-L391)\r\n* or this [spec handling part](https://github.com/erldocs/erldocs/blob/master/src/erldocs_core.erl#L612-L688)\r\n\r\nOr it could have something to do with #25 as it [used to be displayed properly](http://erldocs.com/R15B03-1/erts/erlang.html?i=1&search=send_after#send_after/4).\r\n\r\nMaybe it's just a change in the XML source documentation too (in that case a fix to https://github.com/erlang/otp may be needed!\r\n(And bugs there do exist: http://erldocs.com/maint/log-maint.txt)\r\n"}}