commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] r11171 - gnuradio/trunk/grc/src/platforms/python/utils


From: jblum
Subject: [Commit-gnuradio] r11171 - gnuradio/trunk/grc/src/platforms/python/utils
Date: Mon, 1 Jun 2009 17:59:28 -0600 (MDT)

Author: jblum
Date: 2009-06-01 17:59:28 -0600 (Mon, 01 Jun 2009)
New Revision: 11171

Modified:
   gnuradio/trunk/grc/src/platforms/python/utils/extract_docs.py
Log:
use the gr doc extractor for the usrp2 as well

Modified: gnuradio/trunk/grc/src/platforms/python/utils/extract_docs.py
===================================================================
--- gnuradio/trunk/grc/src/platforms/python/utils/extract_docs.py       
2009-06-01 23:52:43 UTC (rev 11170)
+++ gnuradio/trunk/grc/src/platforms/python/utils/extract_docs.py       
2009-06-01 23:59:28 UTC (rev 11171)
@@ -1,5 +1,5 @@
 """
-Copyright 2008 Free Software Foundation, Inc.
+Copyright 2008, 2009 Free Software Foundation, Inc.
 This file is part of GNU Radio
 
 GNU Radio Companion is free software; you can redistribute it and/or
@@ -63,7 +63,7 @@
                        #extract descriptions
                        comp_name = 
extract_txt(xml.xpath(DOXYGEN_NAME_XPATH)[0]).strip('\n')
                        comp_name = '   ---   ' + comp_name + '   ---   '
-                       if key.startswith('gr_') or key.startswith('trellis_'):
+                       if re.match('(gr|usrp2|trellis)_.*', key):
                                brief_desc = 
extract_txt(xml.xpath(DOXYGEN_BRIEFDESC_GR_XPATH)[0]).strip('\n')
                                detailed_desc = 
extract_txt(xml.xpath(DOXYGEN_DETAILDESC_GR_XPATH)[0]).strip('\n')
                        else:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]