このスレッドと同じ問題に直面しています。Sphinx ドキュメントをビルドすると、make html
このような警告がたくさん表示されます
None:None: WARNING: toctree contains reference to nonexisting document u'cars.Car.time_elapsed'
を使用してhtml_theme = 'sphinx_rtd_theme'
います。に変更するとclassic
、警告は表示されません。に追加numpydoc_show_class_members = False
するとconf.py
、それらも取得できません。
しかし; 私は本当に好きsphinx_rtd_theme
で、 を使用classic
または追加すると、Python メソッドnumpydoc_show_class_members = False
の「TOC」が削除されます。
cars
モジュールのドキュメントは
.. automodule:: cars
:members:
モジュールには、2 つのメソッドを持つ 1 つのクラスが含まれていCar
ます。docstring は で書かれていnumpydoc
ます。