mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Add inheritance-diagram to Sphinx documentation
This commit is contained in:
@@ -27,7 +27,8 @@ sys.path.append(os.path.abspath('_themes'))
|
|||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be extensions
|
# Add any Sphinx extension module names here, as strings. They can be extensions
|
||||||
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
||||||
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.todo']
|
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx.ext.todo',
|
||||||
|
'sphinx.ext.inheritance_diagram']
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
|
|||||||
@@ -61,6 +61,22 @@ Parser Representation (parser_representation.py)
|
|||||||
|
|
||||||
.. automodule:: parsing_representation
|
.. automodule:: parsing_representation
|
||||||
|
|
||||||
|
.. inheritance-diagram::
|
||||||
|
SubModule
|
||||||
|
Class
|
||||||
|
Function
|
||||||
|
Lambda
|
||||||
|
Flow
|
||||||
|
ForFlow
|
||||||
|
Import
|
||||||
|
Statement
|
||||||
|
Param
|
||||||
|
Call
|
||||||
|
Array
|
||||||
|
Name
|
||||||
|
ListComprehension
|
||||||
|
:parts: 1
|
||||||
|
|
||||||
.. _evaluate:
|
.. _evaluate:
|
||||||
|
|
||||||
Evaluation of python code (evaluate.py)
|
Evaluation of python code (evaluate.py)
|
||||||
@@ -73,6 +89,16 @@ Evaluation Representation (evaluate_representation.py)
|
|||||||
|
|
||||||
.. automodule:: evaluate_representation
|
.. automodule:: evaluate_representation
|
||||||
|
|
||||||
|
.. inheritance-diagram::
|
||||||
|
Executable
|
||||||
|
Instance
|
||||||
|
InstanceElement
|
||||||
|
Class
|
||||||
|
Function
|
||||||
|
Execution
|
||||||
|
Generator
|
||||||
|
Array
|
||||||
|
:parts: 1
|
||||||
|
|
||||||
.. _dev-api:
|
.. _dev-api:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user