Generate Sphinx Friendly Docstrings For Python Functions In Emacs!
Today, I went to Django REST Framework Workshop. After the workshop is completed, and we were discussing about Emacs, Krace showed this cool plugin sphinx-doc, it inserts docstring skeleton for Python functions/methods as per the requirement of the Sphinx documentation generator.
Installation:
To install it from MELPA, run "M-x package-list-packages", search for "sphinx-doc" , mark it with i and press x to install.Configuration:
Add these lines to Your emacs config to enable sphinx-doc-mode.Need further help with this? Feel free to send a message.