From de849caeb9d689ab0ffd9d8279ba0cb1af925753 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Thu, 20 Oct 2011 09:41:07 -0700 Subject: docs: grabbed support files from ben's repo and my repo --- docs/doxygen/README.doxyxml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 docs/doxygen/README.doxyxml (limited to 'docs/doxygen/README.doxyxml') diff --git a/docs/doxygen/README.doxyxml b/docs/doxygen/README.doxyxml new file mode 100644 index 000000000..fef71e106 --- /dev/null +++ b/docs/doxygen/README.doxyxml @@ -0,0 +1,26 @@ +The process of updating and exporting the Doxygen document strings +into Python consists of a few steps. + +1. Make sure the 'docs' component will be built, which requires +Doxygen. + +2. Build the project like normal, which will run Doxygen and store the + XML files into $(top_builddir). + +3. In $(top_srcdir)/docs/doxygen, run the command: + + $ python swig_doc.py \ + $(top_builddir)/docstrings/docs/doxygen/xml \ + $(top_srcdir)/gnuradio-core/src/lib/swig/swig_doc.i + + This uses the XML output of Doxygen to to rebuild a SWIG file that + contains all of the current Doxygen markups. + +4. Rebuild the GNU Radio libraries. Since gnuradio.i is included in + all of the GNU Radio components, and gnuradio.i includes + swig_doc.i, when the libraries are rebuilt, they will now include + the documentation strings in Python. + +5. Install GNU Radio. Now, when you run help() in Python on a GNU + Radio block, you will get the full documentation. + -- cgit