{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/840","repository_url":"https://api.github.com/repos/elixir-lang/ex_doc","labels_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/840/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/840/comments","events_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/840/events","html_url":"https://github.com/elixir-lang/ex_doc/issues/840","id":309828137,"number":840,"title":"Impossible to build docs for Earmark","user":{"login":"RobertDober","id":75127,"avatar_url":"https://avatars0.githubusercontent.com/u/75127?v=4","gravatar_id":"","url":"https://api.github.com/users/RobertDober","html_url":"https://github.com/RobertDober","followers_url":"https://api.github.com/users/RobertDober/followers","following_url":"https://api.github.com/users/RobertDober/following{/other_user}","gists_url":"https://api.github.com/users/RobertDober/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertDober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertDober/subscriptions","organizations_url":"https://api.github.com/users/RobertDober/orgs","repos_url":"https://api.github.com/users/RobertDober/repos","events_url":"https://api.github.com/users/RobertDober/events{/privacy}","received_events_url":"https://api.github.com/users/RobertDober/received_events","type":"User","site_admin":false},"labels":[{"id":872672,"url":"https://api.github.com/repos/elixir-lang/ex_doc/labels/Kind:Bug","name":"Kind:Bug","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-29T16:50:00Z","updated_at":"2018-03-29T17:41:58Z","closed_at":null,"author_association":"NONE","body":"I was not succesfull in finding any trace of this on the net.\r\n\r\nAs indicated by @pragdave in this issue https://github.com/pragdave/earmark/issues/185\r\nthe ex_doc escript fails with the following stacktrace.\r\n```\r\n** (EXIT from #PID<0.68.0>) an exception was raised:\r\n    ** (ArgumentError) argument error\r\n        (ex_doc) lib/ex_doc/formatter/html/autolink.ex:244: anonymous fn/7 in ExDoc.Formatter.HTML.Autolink.format_and_extract_typespec_placeholders/4\r\n        (elixir) lib/macro.ex:257: Macro.do_traverse/4\r\n        (elixir) lib/enum.ex:1397: Enum.\"-map_reduce/3-lists^mapfoldl/2-0-\"/3\r\n        (elixir) lib/macro.ex:243: Macro.do_traverse/4\r\n        (elixir) lib/enum.ex:1397: Enum.\"-map_reduce/3-lists^mapfoldl/2-0-\"/3\r\n        (elixir) lib/enum.ex:1397: Enum.\"-map_reduce/3-lists^mapfoldl/2-0-\"/3\r\n        (elixir) lib/macro.ex:243: Macro.do_traverse/4\r\n        (elixir) lib/enum.ex:1397: Enum.\"-map_reduce/3-lists^mapfoldl/2-0-\"/3\r\n```\r\nIt was launched from Earmark's commit https://github.com/pragdave/earmark/commit/41c84f5f441d2b6201da593447a5790b05551ddd with the following args\r\n\r\n`Earmark 1.2.5 _build/dev/lib/earmark/ebin -m Earmark -o doc -p https://github/pragdave/earmark.html -f html -n -n https://hexdocs.pm/earmark/master` \r\n\r\nThe env was 1.6.4/20.3\r\n\r\nAll I could find out was that `elixir_source` is `nil` in line 244, but that code is way over my head."},"comment":{"url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/comments/377315382","html_url":"https://github.com/elixir-lang/ex_doc/issues/840#issuecomment-377315382","issue_url":"https://api.github.com/repos/elixir-lang/ex_doc/issues/840","id":377315382,"user":{"login":"RobertDober","id":75127,"avatar_url":"https://avatars0.githubusercontent.com/u/75127?v=4","gravatar_id":"","url":"https://api.github.com/users/RobertDober","html_url":"https://github.com/RobertDober","followers_url":"https://api.github.com/users/RobertDober/followers","following_url":"https://api.github.com/users/RobertDober/following{/other_user}","gists_url":"https://api.github.com/users/RobertDober/gists{/gist_id}","starred_url":"https://api.github.com/users/RobertDober/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobertDober/subscriptions","organizations_url":"https://api.github.com/users/RobertDober/orgs","repos_url":"https://api.github.com/users/RobertDober/repos","events_url":"https://api.github.com/users/RobertDober/events{/privacy}","received_events_url":"https://api.github.com/users/RobertDober/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T17:41:58Z","updated_at":"2018-03-29T17:41:58Z","author_association":"NONE","body":"However I am not sure you shall use `ex_doc` inside the Earmark\r\n\r\nIn case you hit a wall I tell you how we do it\r\n\r\n* `mix escript.install hex ex_doc` from the ex_doc repro, Earmark's docs task finds it there\r\n* overrule with EX_DOC_ESCRIPT var as I use asdf\r\n\r\nThank you for your reactivity"}}
{"actor":{"display_login":"RobertDober"}}