doxi.nvim is a lightweight Neovim plugin for authoring Python docstring examples as real doctest-style transcripts. It is built for one narrow workflow: select a docstring example region, open a ...
Pythonには、docstringの内容に応じたテストを行う doctestモジュールが標準で含まれている。 docstringの中に入出力例を書くだけなので簡単、かつ、 ドキュメントとしても分かりやすくなる。