Referencing parameters in a Python docstring

后端 未结 1 1228
面向向阳花
面向向阳花 2021-02-19 21:13

I use Sphinx and the autodocs feature to ensure we have good docs in our project.

So I\'m familiar with info field lists and I\'m familiar with using cross-referencing i

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-19 21:52

    You can write your own extension using autodoc-process-docstring - it's really simple.

    Have the extension search for :param: and replace it with your choice of style.

    0 讨论(0)
提交回复
热议问题