Use autodoc_member_order = 'bysource'

This is for making the variables appear in settings.py
to appear in the document in the same order.
This commit is contained in:
Takafumi Arakaki authored and Danilo Bargen committed 2013-01-02 20:09:46 +01:00
1 parent 9e17f552f1
commit 0747469ffc
1 file changed
+1
+1
View File
@@ -256,4 +256,5 @@ todo_include_todos = False
# -- Options for autodoc module ------------------------------------------------ # -- Options for autodoc module ------------------------------------------------
autodoc_member_order = 'bysource'
autodoc_default_flags = ['members', 'undoc-members'] autodoc_default_flags = ['members', 'undoc-members']