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.
To install it from MELPA, run "M-x package-list-packages"
, search for "sphinx-doc" , m
ark it with i and press x to install.
Add these lines to Your emacs config to enable sphinx-doc-mode.
If you document your code(infact you should), this plugin saves quite a few strokes!