You can choose different ways of documenting the help section of your code.
Those are adapted from their equivalent in python.
Those functions can be found here
---
.. automodule:: src
.. autofunction:: count_line_google_style_help
---
.. autofunction:: count_line_numpy_style_help
---
.. autofunction:: count_line_rst_style_help