]> git.gag.com Git - debian/gnuradio/commitdiff
use the gr doc extractor for the usrp2 as well
authorjblum <jblum@221aa14e-8319-0410-a670-987f0aec2ac5>
Mon, 1 Jun 2009 23:59:28 +0000 (23:59 +0000)
committerjblum <jblum@221aa14e-8319-0410-a670-987f0aec2ac5>
Mon, 1 Jun 2009 23:59:28 +0000 (23:59 +0000)
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11171 221aa14e-8319-0410-a670-987f0aec2ac5

grc/src/platforms/python/utils/extract_docs.py

index c7d42b4ab9e4983111ed7e96150089e2118ac346..b3695a953c1883864e6b4bb2a8b66d975720950d 100644 (file)
@@ -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 @@ def _extract(key):
                        #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: