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:
1 parent
9e17f552f1
commit
0747469ffc
1 file changed
+1
@@ -256,4 +256,5 @@ todo_include_todos = False
|
||||
|
||||
# -- Options for autodoc module ------------------------------------------------
|
||||
|
||||
autodoc_member_order = 'bysource'
|
||||
autodoc_default_flags = ['members', 'undoc-members']
|
||||
Reference in new issue
Block a user