src/eric7/QScintilla/DocstringGenerator/SphinxdocGenerator.py

branch
eric7
changeset 9486
5a8179763e38
parent 9221
bf71ee032bb4
child 9653
e67609152c5e
equal deleted inserted replaced
9485:0f3620304d7a 9486:5a8179763e38
6 """ 6 """
7 Module implementing the docstring generator for the 'sphinxdoc' style. 7 Module implementing the docstring generator for the 'sphinxdoc' style.
8 """ 8 """
9 9
10 10
11 def generateSphinxDoc(functionInfo): 11 def generateDoc(functionInfo, editor):
12 """ 12 """
13 Function to generate the docstring line list iaw. Sphinx documentation 13 Function to generate the docstring line list iaw. Sphinx documentation
14 style. 14 style.
15 15
16 Note: Text is created with DESCRIPTION placeholders for descriptions and 16 Note: Text is created with DESCRIPTION placeholders for descriptions and
17 TYPE placeholders for type information 17 TYPE placeholders for type information
18 18
19 @param functionInfo object containing the function information to base 19 @param functionInfo object containing the function information to base
20 the docstring on 20 the docstring on
21 @type FunctionInfo 21 @type FunctionInfo
22 @param editor reference to the editor
23 @type Editor
22 @return list of docstring lines 24 @return list of docstring lines
23 @rtype str 25 @rtype str
24 """ 26 """
25 # __IGNORE_WARNING_D202__ 27 # __IGNORE_WARNING_D202__
26 lines = [] 28 lines = []

eric ide

mercurial