django-rest-framework-docs
django-rest-framework-docs copied to clipboard
Muliple line doc strings appearing as one
If we have a class which has multiple line arguments. They appear on the same line. It would be great if we could format the doc string with some markup. Couldn't find anything related to formatting of doc string which is very important for any kind of documentation.
class ProjectList(generics.ListAPIView):
"""
* API Endpoint for Project List.
* About API 2nd line:
1.this is first point.
2.this is second point.
"""
...
But when we check it on the docs everything comes up in one line.
Same issue.
+1
+1
Hi,
Solved this issue by using this in my requirements.txt : git+https://github.com/manosim/django-rest-framework-docs.git
instead of pip install drfdocs. The package used by pip install is not up to date.
@csurbier just did a preliminary test as per your suggestion and it seems to work . Thanks for sharing!
Hmm it seems that didn't work for me.