{"action":"opened","issue":{"url":"https://api.github.com/repos/documentationjs/documentation/issues/230","labels_url":"https://api.github.com/repos/documentationjs/documentation/issues/230/labels{/name}","comments_url":"https://api.github.com/repos/documentationjs/documentation/issues/230/comments","events_url":"https://api.github.com/repos/documentationjs/documentation/issues/230/events","html_url":"https://github.com/documentationjs/documentation/issues/230","id":115152119,"number":230,"title":"TypeError","user":{"login":"thealjey","id":2216553,"avatar_url":"https://avatars.githubusercontent.com/u/2216553?v=3","gravatar_id":"","url":"https://api.github.com/users/thealjey","html_url":"https://github.com/thealjey","followers_url":"https://api.github.com/users/thealjey/followers","following_url":"https://api.github.com/users/thealjey/following{/other_user}","gists_url":"https://api.github.com/users/thealjey/gists{/gist_id}","starred_url":"https://api.github.com/users/thealjey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thealjey/subscriptions","organizations_url":"https://api.github.com/users/thealjey/orgs","repos_url":"https://api.github.com/users/thealjey/repos","events_url":"https://api.github.com/users/thealjey/events{/privacy}","received_events_url":"https://api.github.com/users/thealjey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-04T21:28:48Z","updated_at":"2015-11-04T21:28:48Z","closed_at":null,"body":"Hi!\r\n\r\nI am a new documentationjs user, trying to switch over from jsdoc.\r\nSo far completely unsuccessfully.\r\nThe \"json\" and \"md\" formats work without errors, but when I set the format to \"html\".\r\n```\r\ndocumentation lib/index.js -o docs -f html\r\n```\r\nI get the following error\r\n```\r\nlib/html_helpers.js:57\r\n  if (paths.indexOf(text) !== -1) {\r\n           ^\r\n\r\nTypeError: Cannot read property 'indexOf' of undefined\r\n    at autolink (lib/html_helpers.js:57:12)\r\n    at formatType (lib/html_helpers.js:87:23)\r\n    at formatType (lib/html_helpers.js:93:20)\r\n    at Object.<anonymous> (lib/html_helpers.js:167:12)\r\n    at Object.eval (eval at createFunctionContext (node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:221:23), <anonymous>:5:84)\r\n    at prog (node_modules/handlebars/dist/cjs/handlebars/runtime.js:193:15)\r\n    at execIteration (node_modules/handlebars/dist/cjs/handlebars/base.js:155:19)\r\n    at Object.each (node_modules/handlebars/dist/cjs/handlebars/base.js:164:11)\r\n    at Object.<anonymous> (node_modules/handlebars/dist/cjs/handlebars/base.js:104:33)\r\n    at Object.eval (eval at createFunctionContext (node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:221:23), <anonymous>:6:62)\r\n```\r\n\r\nWhat this project really lacks a lot is good documentation (no pun intended)."}}