From a3e7a9d7efe383419104b945a99ab932019f0f4d Mon Sep 17 00:00:00 2001 From: jblum Date: Mon, 1 Jun 2009 23:59:28 +0000 Subject: 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 --- grc/src/platforms/python/utils/extract_docs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'grc/src/platforms/python/utils') 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: -- cgit