diff options
-rw-r--r-- | gr-pager/python/__init__.py | 4 | ||||
-rw-r--r-- | gr-pager/swig/CMakeLists.txt | 3 | ||||
-rw-r--r-- | gr-pager/swig/pager_swig.i | 3 |
3 files changed, 10 insertions, 0 deletions
diff --git a/gr-pager/python/__init__.py b/gr-pager/python/__init__.py index 664b79942..fffefd51d 100644 --- a/gr-pager/python/__init__.py +++ b/gr-pager/python/__init__.py @@ -21,6 +21,10 @@ # The presence of this file turns this directory into a Python package +''' +The GNU Radio pager application. +''' + from pager_swig import * from flex_demod import flex_demod from pager_utils import * diff --git a/gr-pager/swig/CMakeLists.txt b/gr-pager/swig/CMakeLists.txt index bfb34c929..dce4be910 100644 --- a/gr-pager/swig/CMakeLists.txt +++ b/gr-pager/swig/CMakeLists.txt @@ -28,6 +28,9 @@ set(GR_SWIG_INCLUDE_DIRS ${GNURADIO_CORE_SWIG_INCLUDE_DIRS} ) +set(GR_SWIG_DOC_FILE ${CMAKE_CURRENT_BINARY_DIR}/pager_swig_doc.i) +set(GR_SWIG_DOC_DIRS ${GR_PAGER_INCLUDE_DIRS}) + set(GR_SWIG_LIBRARIES gnuradio-pager) GR_SWIG_MAKE(pager_swig pager_swig.i) diff --git a/gr-pager/swig/pager_swig.i b/gr-pager/swig/pager_swig.i index 2896fa368..2cf54c2a7 100644 --- a/gr-pager/swig/pager_swig.i +++ b/gr-pager/swig/pager_swig.i @@ -21,6 +21,9 @@ %include "gnuradio.i" +//load generated python docstrings +%include "pager_swig_doc.i" + %{ #include "pager_flex_frame.h" #include "pager_slicer_fb.h" |