Belle II Software  release-05-02-19
RenderDocstring Class Reference
Inheritance diagram for RenderDocstring:
Collaboration diagram for RenderDocstring:

Public Member Functions

def run (self)
 

Static Public Attributes

bool has_content = True
 
dictionary option_spec
 

Detailed Description

Directive to Render Docstring as Docutils nodes.
This is useful as standard reStructuredText does not parse Google
Docstrings but we support it in docstrings for python functions, modules
and variables. So to show example docstrings in the documentation we don't
want to write the example in Google Docstring and keep that synchronous
with a reStructuredText version

Definition at line 53 of file basf2ext.py.

Member Function Documentation

◆ run()

def run (   self)
Just pass on the content to the autodoc-process-docstring event and
then parse the resulting reStructuredText.

Definition at line 66 of file basf2ext.py.

Member Data Documentation

◆ option_spec

dictionary option_spec
static
Initial value:
= {
"lines": directives.unchanged
}

Definition at line 62 of file basf2ext.py.


The documentation for this class was generated from the following file: