これで,いくつかのsphinxコマンド(sphinx-apidoc,sphinx-autogen,sphinx-build,sphinx-quickstart)が使えるようになります. ドキュメントを抽出したいpythonファイルの準備 main.pyを作り,以下を記述します. """で囲まれた部分がdocstringと呼ばれる部分で,クラスやメソッドの注釈を入れることができます. docstringの記法にはReStructuredTextスタイル,Numpyスタイル,Googleスタイルなどがありますが,今回はGoogleスタイルで書きます. class TestClass: """Summary line. """ def testfunc(self, x, y): """sum Args: x (int): 1st argument y (int): 2nd argument Re