Added information about docstring (#1239)

This commit is contained in:
xarkes 2019-03-08 08:20:13 +01:00 committed by GitHub
parent e3ddbf6255
commit 426cf96b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,6 +72,20 @@ to the style is:
astyle --project=src/Cutter.astylerc src/filename.cpp
Docstrings
^^^^^^^^^^
Our API reference is generated using Doxygen, so when it comes to
function documentation, please use the following format:
.. code:: cpp
/**
* @brief Add a new param to the accumulator
*/
virtual void accumulate(RefreshDeferrerParams params) =0;
Loops
^^^^^