Forum: GNU Radio Question about GNU Radio block documentation in GRC.

Posted by unknown (Guest)
on 2012-11-29 22:34
Attachment: gnuradio-grc-doc-fix.patch (806 Bytes)
(Received via mailing list)
Hi list,

  I recently compiled gr-howto-write-a-block (from git master) and its
doxygen documentation is not loaded/displayed in gnuradio-companion.

  The python code is installed in "${GR_PYTHON_DIR}/howto".  See:
http://gnuradio.org/cgit/gnuradio.git/tree/gr-howt...
http://gnuradio.org/cgit/gnuradio.git/tree/gr-howt...

  In gnuradio-companion, when the python documentation is loaded, it
is assumed the blocks are in the "gnuradio" subpackage.  See:
http://gnuradio.org/cgit/gnuradio.git/tree/grc/pyt...

  In case I didn't miss something, what is the preferred way to fix
this ?  (I say "fix" because I would expect the howto block to show
its doc in grc by default).

Solution 1: install third party blocks into the "gnuradio" package
(i.e. installing to "${GR_PYTHON_DIR}/gnuradio/howto").

Solution 2: modify gnuradio-companion so it can search outside the
"gnuradio" package.  For testing purposes, I made the attached patch.

  Regards,

-- Julien Olivain.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.