{"action":"created","issue":{"url":"https://api.github.com/repos/manosim/django-rest-framework-docs/issues/156","repository_url":"https://api.github.com/repos/manosim/django-rest-framework-docs","labels_url":"https://api.github.com/repos/manosim/django-rest-framework-docs/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/manosim/django-rest-framework-docs/issues/156/comments","events_url":"https://api.github.com/repos/manosim/django-rest-framework-docs/issues/156/events","html_url":"https://github.com/manosim/django-rest-framework-docs/issues/156","id":207848499,"number":156,"title":"generate wrong data-path (API urls)","user":{"login":"hexxter","id":6043570,"avatar_url":"https://avatars3.githubusercontent.com/u/6043570?v=3","gravatar_id":"","url":"https://api.github.com/users/hexxter","html_url":"https://github.com/hexxter","followers_url":"https://api.github.com/users/hexxter/followers","following_url":"https://api.github.com/users/hexxter/following{/other_user}","gists_url":"https://api.github.com/users/hexxter/gists{/gist_id}","starred_url":"https://api.github.com/users/hexxter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hexxter/subscriptions","organizations_url":"https://api.github.com/users/hexxter/orgs","repos_url":"https://api.github.com/users/hexxter/repos","events_url":"https://api.github.com/users/hexxter/events{/privacy}","received_events_url":"https://api.github.com/users/hexxter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-02-15T16:08:16Z","updated_at":"2017-06-29T20:12:13Z","closed_at":null,"body":"I have made the rule in the url.py\r\nurl(r'^docs/', include('rest_framework_docs.urls', namespace='docs')),\r\n\r\nand i can server the doc app but all links are wrong:\r\n\r\n/docs/api/notes/_uid_/add \r\nbut it should be /api/notes/_uid_/add\r\n\r\nthe rest is working great. Thank you for your good work.\r\n\r\ndjango 1.10.5\r\ndrf 3.5.3\r\ndrf docs 0.0.11"},"comment":{"url":"https://api.github.com/repos/manosim/django-rest-framework-docs/issues/comments/312090582","html_url":"https://github.com/manosim/django-rest-framework-docs/issues/156#issuecomment-312090582","issue_url":"https://api.github.com/repos/manosim/django-rest-framework-docs/issues/156","id":312090582,"user":{"login":"iamhssingh","id":20599876,"avatar_url":"https://avatars3.githubusercontent.com/u/20599876?v=3","gravatar_id":"","url":"https://api.github.com/users/iamhssingh","html_url":"https://github.com/iamhssingh","followers_url":"https://api.github.com/users/iamhssingh/followers","following_url":"https://api.github.com/users/iamhssingh/following{/other_user}","gists_url":"https://api.github.com/users/iamhssingh/gists{/gist_id}","starred_url":"https://api.github.com/users/iamhssingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamhssingh/subscriptions","organizations_url":"https://api.github.com/users/iamhssingh/orgs","repos_url":"https://api.github.com/users/iamhssingh/repos","events_url":"https://api.github.com/users/iamhssingh/events{/privacy}","received_events_url":"https://api.github.com/users/iamhssingh/received_events","type":"User","site_admin":false},"created_at":"2017-06-29T20:12:13Z","updated_at":"2017-06-29T20:12:13Z","body":"@xncbf This is actually an issue. I will paste a code snippet here to highlight this.\r\n\r\n`    url(r'^api/', include(api_urls)),\r\n`\r\nand `api_urls` can be a list of urls. In this case, the DRF Docs doesn't detects the `api/` prefix"}}
{"actor":{"display_login":"iamhssingh"}}