mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-08 23:04:48 +08:00
sphinx: for now use automodule instead of documenting every class
This commit is contained in:
@@ -11,43 +11,17 @@ If you want to set up an editor/IDE-plugin with **Jedi**, you first need to
|
|||||||
API documentation
|
API documentation
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Main class
|
API Interface
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
|
|
||||||
.. module:: api
|
.. automodule:: api
|
||||||
|
:undoc-members:
|
||||||
|
|
||||||
.. autoclass:: Script
|
API Return Classes
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
API Classes
|
|
||||||
~~~~~~~~~~~
|
|
||||||
|
|
||||||
.. module:: api_classes
|
|
||||||
|
|
||||||
.. autoclass:: BaseDefinition
|
|
||||||
|
|
||||||
.. autoclass:: Completion
|
|
||||||
:show-inheritance:
|
|
||||||
|
|
||||||
.. autoclass:: Definition
|
|
||||||
:show-inheritance:
|
|
||||||
|
|
||||||
.. autoclass:: RelatedName
|
|
||||||
:show-inheritance:
|
|
||||||
|
|
||||||
Exceptions
|
|
||||||
~~~~~~~~~~
|
|
||||||
|
|
||||||
.. module:: api
|
|
||||||
|
|
||||||
.. autoexception:: NotFoundError
|
|
||||||
|
|
||||||
Useful functions
|
|
||||||
~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
.. module:: api
|
|
||||||
|
|
||||||
.. autofunction:: set_debug_function
|
|
||||||
|
|
||||||
|
.. automodule:: api_classes
|
||||||
|
:undoc-members:
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
--------
|
--------
|
||||||
@@ -71,7 +45,7 @@ Completions:
|
|||||||
>>> completions[1].word
|
>>> completions[1].word
|
||||||
'loads'
|
'loads'
|
||||||
|
|
||||||
Definitions:
|
Definitions / Goto:
|
||||||
|
|
||||||
.. sourcecode:: python
|
.. sourcecode:: python
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user