summaryrefslogtreecommitdiff
path: root/docs/doxygen/README.doxyxml
diff options
context:
space:
mode:
authorManoj Gudi2013-10-07 20:19:55 +0530
committerManoj Gudi2013-10-07 20:20:35 +0530
commit1826d0763c8595997f5f4af1fdb0354e9c0998ad (patch)
treeacbd852cd5a1bf17241b1038b5e37a0e72e64612 /docs/doxygen/README.doxyxml
parent452defdb4a78e9e826740ddf4b9673e926c568a4 (diff)
parent24b640997ba7fee0c725e65f401f5cbebdab8d08 (diff)
downloadgnuradio-1826d0763c8595997f5f4af1fdb0354e9c0998ad.tar.gz
gnuradio-1826d0763c8595997f5f4af1fdb0354e9c0998ad.tar.bz2
gnuradio-1826d0763c8595997f5f4af1fdb0354e9c0998ad.zip
README change
Diffstat (limited to 'docs/doxygen/README.doxyxml')
-rw-r--r--docs/doxygen/README.doxyxml26
1 files changed, 26 insertions, 0 deletions
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.
+