Add ordering by source for API docs

This commit is contained in:
Roman Mogilatov 2015-11-29 22:24:29 +02:00
parent a68aeddc7e
commit bec9ef36d2
7 changed files with 4 additions and 7 deletions

View File

@ -3,5 +3,4 @@
.. automodule:: dependency_injector.catalogs .. automodule:: dependency_injector.catalogs
:members: :members:
:member-order: bysource
:special-members: :special-members:

View File

@ -3,4 +3,3 @@
.. automodule:: dependency_injector.errors .. automodule:: dependency_injector.errors
:members: :members:
:member-order: bysource

View File

@ -3,5 +3,4 @@
.. automodule:: dependency_injector.injections .. automodule:: dependency_injector.injections
:members: :members:
:member-order: bysource
:inherited-members: :inherited-members:

View File

@ -3,5 +3,4 @@
.. automodule:: dependency_injector.providers .. automodule:: dependency_injector.providers
:members: :members:
:member-order: bysource
:inherited-members: :inherited-members:

View File

@ -2,4 +2,4 @@
----------------------- -----------------------
.. automodule:: dependency_injector .. automodule:: dependency_injector
:members: VERSION :members: VERSION

View File

@ -3,4 +3,3 @@
.. automodule:: dependency_injector.utils .. automodule:: dependency_injector.utils
:members: :members:
:member-order: bysource

View File

@ -139,7 +139,7 @@ html_theme = 'default'
# Add any paths that contain custom static files (such as style sheets) here, # Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files, # relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css". # so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static'] html_static_path = []
# Add any extra paths that contain custom files (such as robots.txt or # Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied # .htaccess) here, relative to this directory. These files are copied
@ -295,3 +295,5 @@ texinfo_documents = [
# If true, do not generate a @detailmenu in the "Top" node's menu. # If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False #texinfo_no_detailmenu = False
autodoc_member_order = 'bysource'