mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 01:11:10 +03:00
autodoc: Removed autodoc directive from py swig
Since UPM uses doxy2swig, there is no need for the swig interface file autodoc for python. Also, turned on the doxy2swig --quiet switch which cleans up the build log a tiny bit. This removes a redundant chunk of documentation from python modules (per each function). Old: def pH(self, samples=15): +-> """ | pH(DFRPH self, unsigned int samples=15) -> float | | Parameters | ---------- swig| samples: unsigned int | | pH(DFRPH self) -> float | | Parameters | ---------- +-> self: upm::DFRPH * +-> float pH(unsigned int | samples=15) | | Take a number of samples and return the detected pH value. The default | number of samples is 15. | doxy2swig| Parameters: | ----------- | | samples: The number of samples to average over, default 15 | | The pH value detected | """ +-> return _pyupm_dfrph.DFRPH_pH(self, samples) New: def pH(self, samples=15): +-> """ | float pH(unsigned int | samples=15) | | Take a number of samples and return the detected pH value. The default | number of samples is 15. | doxy2swig| Parameters: | ----------- | | samples: The number of samples to average over, default 15 | | The pH value detected +-> """ Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
@ -3,8 +3,6 @@
|
||||
%module pyupm_mq303a
|
||||
%include "../upm.i"
|
||||
|
||||
%feature("autodoc", "3");
|
||||
|
||||
%include "mq303a.hpp"
|
||||
%{
|
||||
#include "mq303a.hpp"
|
||||
|
Reference in New Issue
Block a user