Skip to content
Snippets Groups Projects
about_doc.rst 633 B
Newer Older
Franck Pérignon's avatar
Franck Pérignon committed
.. _about_doc:

How to document classes in HySoP
=================================

We try to fit as much as possible with `numpydoc guide <https://numpydoc.readthedocs.io/en/latest/>`_
Franck Pérignon's avatar
Franck Pérignon committed
guide standards.

See the files fields/continuous.py and operator/drag_and_lift.py which
are used as reference files for documentation.

Mind the need of `raw strings litterals <https://docs.python.org/3/reference/lexical_analysis.html#string-and-bytes-literals>`_ in python docstrings for keeping the `\stuff` from math
environments `".. :math:"`.

Mind the 'space' character before colon character `":"` in parameters or
attributes definitions.