.. _f-myexample2: module ``subproject2.myexample2`` ================================= .. inheritance-diagram:: python3_module_template.subproject2.myexample2 Short summary +++++++++++++ module ``python3_module_template.subproject2.myexample2`` This the documentation of this module (myexample2). To make a reference to a blog post, just read :ref:`label-to-this-blogpost`. The following documentation comes from a directive `runpython `_ which outputs documentation on the standard output:: .. runpython:: :showcode: for l in range(0,10): print(" line", l) Which gives: Classes +++++++ +-----------------------------------------------------------------------------+-------------------------------------------+ | class | truncated documentation | +=============================================================================+===========================================+ | :class:`myclass2 ` | This is the documentation for this class. | +-----------------------------------------------------------------------------+-------------------------------------------+ Properties ++++++++++ +-----------------------------------------------------------------------------------------------------+-------------------------+ | property | truncated documentation | +=====================================================================================================+=========================+ | :meth:`property_example ` | a property example | +-----------------------------------------------------------------------------------------------------+-------------------------+ Static Methods ++++++++++++++ +-------------------------------------------------------------------------------------------------+-------------------------+ | staticmethod | truncated documentation | +=================================================================================================+=========================+ | :meth:`static_example ` | | +-------------------------------------------------------------------------------------------------+-------------------------+ Methods +++++++ +----------------------------------------------------------------------------------------+---------------------------------------------+ | method | truncated documentation | +========================================================================================+=============================================+ | :py:meth:`__init__ ` | | +----------------------------------------------------------------------------------------+---------------------------------------------+ | :meth:`get_value ` | returns the parameter multiplied by a value | +----------------------------------------------------------------------------------------+---------------------------------------------+ Documentation +++++++++++++ .. automodule:: python3_module_template.subproject2.myexample2 :members: :special-members: __init__ :show-inheritance: