Skip to content

Conversation

prijip
Copy link

@prijip prijip commented Jul 22, 2016

I have the docstrings in reStructuredText format in my project. So I went ahead and added support for rst to DRFDocs. Thought this might be helpful to the community, and hence requesting a pull.

Change summary:

  • Added a setting 'DOCSTRING_FORMAT'
  • Updated settings documentation with 'DOCSTRING_FORMAT'
  • Updated ApiEndpoint get_docstring() to format the docstring if the 'DOCSTRING_FORMAT' is 'rst'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant