Autodoc params?
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'
.
精彩评论