summaryrefslogtreecommitdiff
path: root/grc/src/platforms/python/utils
diff options
context:
space:
mode:
authorjblum2009-06-01 23:59:28 +0000
committerjblum2009-06-01 23:59:28 +0000
commita3e7a9d7efe383419104b945a99ab932019f0f4d (patch)
treef7a225a5f9d70d0bbec39889fe6efe49337caa19 /grc/src/platforms/python/utils
parent098967796cf5eeef6713517ef57768555f4d4935 (diff)
downloadgnuradio-a3e7a9d7efe383419104b945a99ab932019f0f4d.tar.gz
gnuradio-a3e7a9d7efe383419104b945a99ab932019f0f4d.tar.bz2
gnuradio-a3e7a9d7efe383419104b945a99ab932019f0f4d.zip
use the gr doc extractor for the usrp2 as well
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@11171 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'grc/src/platforms/python/utils')
-rw-r--r--grc/src/platforms/python/utils/extract_docs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/grc/src/platforms/python/utils/extract_docs.py b/grc/src/platforms/python/utils/extract_docs.py
index c7d42b4ab..b3695a953 100644
--- a/grc/src/platforms/python/utils/extract_docs.py
+++ b/grc/src/platforms/python/utils/extract_docs.py
@@ -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: