Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support restructuredtext #121

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant