开发者

Autodoc params?

开发者 https://www.devze.com 2023-02-04 01:36 出处:网络
I\'m newbie using sphinx. It looks pretty good. I have almost documented all my project using autodoc, but I want to change one behavior. Reading the documentation, I\'ve seen this: autodoc_member_ord

I'm newbie using sphinx. It looks pretty good. I have almost documented all my project using autodoc, but I want to change one behavior. Reading the documentation, I've seen this: autodoc_member_order, and want to change to 'bysource' 开发者_运维技巧value, the point is, where am I supposed to put this value?

Thanks, and I apologize for my poor English.

Update: I'm using sphinx 0.6.6


put

autodoc_member_order = 'bysource'

at the bottom of the config file.

Of course you need version 1.0, as the docs you linked in the question mention:

Changed in version 1.0: Support for 'bysource'.

0

精彩评论

暂无评论...
验证码 换一张
取 消