{"action":"created","issue":{"url":"https://api.github.com/repos/dthree/wat/issues/31","labels_url":"https://api.github.com/repos/dthree/wat/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/dthree/wat/issues/31/comments","events_url":"https://api.github.com/repos/dthree/wat/issues/31/events","html_url":"https://github.com/dthree/wat/issues/31","id":112392180,"number":31,"title":"Trying to create new docs - wont index","user":{"login":"defel","id":131087,"avatar_url":"https://avatars.githubusercontent.com/u/131087?v=3","gravatar_id":"","url":"https://api.github.com/users/defel","html_url":"https://github.com/defel","followers_url":"https://api.github.com/users/defel/followers","following_url":"https://api.github.com/users/defel/following{/other_user}","gists_url":"https://api.github.com/users/defel/gists{/gist_id}","starred_url":"https://api.github.com/users/defel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defel/subscriptions","organizations_url":"https://api.github.com/users/defel/orgs","repos_url":"https://api.github.com/users/defel/repos","events_url":"https://api.github.com/users/defel/events{/privacy}","received_events_url":"https://api.github.com/users/defel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-10-20T15:18:13Z","updated_at":"2015-10-26T12:37:56Z","closed_at":null,"body":"Hi,\r\n\r\nI need a jump-start again. \r\n\r\nI am trying to create new documentation for protractor. As there are no good api-docs for protractor in markdown-format on github, I want to paste them hand-crafted from [angular.github.io/protractor](http://angular.github.io/protractor/#/api?view=Protractor) to the `docs/` folder.\r\n\r\nWhat I have done: \r\n\r\n- create no subfolder `docs/protractor`\r\n- create two files: `docs/protractor/element/all/index.md` and `docs/protractor/element/index.md`\r\n- copied config.json from `docs/js` to `docs/protractor` and edited it to contains both functions 'element' and 'element/all'\r\n- run `index`in wat -> nothing happens\r\n- run `gulp index` on shell -> nothing happens\r\n\r\nWhat have I exactly to do, to add this new docs? \r\n\r\nFor me it looks on the first view exactly like the js doc. The files `config/config.json` and `config/index.json` were also updated automatically by index command. \r\n\r\nFor clarity you can see the wip here: https://github.com/defel/wat/tree/protractor-docs/docs/protractor\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dthree/wat/issues/comments/151120754","html_url":"https://github.com/dthree/wat/issues/31#issuecomment-151120754","issue_url":"https://api.github.com/repos/dthree/wat/issues/31","id":151120754,"user":{"login":"defel","id":131087,"avatar_url":"https://avatars.githubusercontent.com/u/131087?v=3","gravatar_id":"","url":"https://api.github.com/users/defel","html_url":"https://github.com/defel","followers_url":"https://api.github.com/users/defel/followers","following_url":"https://api.github.com/users/defel/following{/other_user}","gists_url":"https://api.github.com/users/defel/gists{/gist_id}","starred_url":"https://api.github.com/users/defel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defel/subscriptions","organizations_url":"https://api.github.com/users/defel/orgs","repos_url":"https://api.github.com/users/defel/repos","events_url":"https://api.github.com/users/defel/events{/privacy}","received_events_url":"https://api.github.com/users/defel/received_events","type":"User","site_admin":false},"created_at":"2015-10-26T12:37:56Z","updated_at":"2015-10-26T12:37:56Z","body":"Sorry for my late reply. Had a chance to test this feature now and it works perfectly! \r\n\r\nJust a little note: \r\n\r\nWhen I add the docs locally, and reindex, I get the following errors: \r\n\r\n    ? index\r\n    \r\n      Successfully updated index.\r\n    \r\n      3 documents are queued for updating.\r\n    \r\n      Sucessfully rebuilt index.\r\n    \r\n    ? Error fetching update for https://raw.githubusercontent.com/dthree/wat/master/docs/protractor/element/index.md: Not Found\r\n    Error fetching update for https://raw.githubusercontent.com/dthree/wat/master/docs/protractor/element/all/clone.md: Not Found\r\n    Error fetching update for https://raw.githubusercontent.com/dthree/wat/master/docs/protractor/element/all/index.md: Not Found\r\n\r\nIt works, but maybe the fetch is unnecessary for local docs in dev-mode?"}}