slothy
slothy

Reputation: 373

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

Upvotes: 12

Views: 3035

Answers (1)

nosklo
nosklo

Reputation: 223152

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'.

Upvotes: 13

Related Questions