#+end_src
*** Sphinx Documentation
#+begin_src emacs-lisp :tangle yes
- (use-package numpydoc
- :ensure t
- :after python
- :bind (:map python-mode-map
- ("C-c C-n" . numpydoc-generate)))
- (use-package sphinx-doc
- :ensure t
- :config
- (sphinx-doc-mode t)
- (setq sphinx-doc-include-types t)
- :after python)
+(use-package numpydoc
+ :ensure t
+ :after python
+ :bind (:map python-mode-map
+ ("C-c C-n" . numpydoc-generate)))
+(use-package sphinx-doc
+ :ensure t
+ :config
+ (sphinx-doc-mode t)
+ (setq sphinx-doc-include-types t)
+ :after python)
+(use-package python-docstring
+ :ensure t
+ :after python
+ :hook
+ (python-mode . python-docstring-mode)
+ )
#+end_src
** Go language
#+BEGIN_SRC emacs-lisp