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 = [] |