Flatten urls when manually specifying url patterns

When manually [specifying the url patterns](https://github.com/pleasedontbelong/django-rest-framework-docs#specify-your-own-url-patterns) You get an error `'RegexURLPattern' object has no attribute '_DocumentationGenerator__path'` because RegexURLPattern doesn't have a `__path` attribute