summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Finlay <finlay@src.gnome.org>2006-08-06 21:09:04 +0000
committerJohn Finlay <finlay@src.gnome.org>2006-08-06 21:09:04 +0000
commit3cac3b8c1dc55319132e2e64f84254869fa7a6c0 (patch)
tree83e536d945ee9ca11a4f51c5ba1718cfb9e68f15
parent3497d2b20f40b9320e8b8b833d4dad09af85a4d0 (diff)
downloadpygtk-3cac3b8c1dc55319132e2e64f84254869fa7a6c0.tar.gz
Allow patterns that cross multiple lines.
* docs/fixxref.py (link_pat): Allow patterns that cross multiple lines.
-rw-r--r--ChangeLog4
-rw-r--r--docs/fixxref.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 0e40a1c1..264bc222 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-06 John Finlay <finlay@moeraki.com>
+
+ * docs/fixxref.py (link_pat): Allow patterns that cross multiple lines.
+
2006-08-06 Johan Dahlin <johan@gnome.org>
* configure.in: Post release version bump
diff --git a/docs/fixxref.py b/docs/fixxref.py
index c39781b0..e0a74d27 100644
--- a/docs/fixxref.py
+++ b/docs/fixxref.py
@@ -8,7 +8,7 @@ anchor_pat = re.compile(r'''^\s*<ANCHOR\s+id\s*=\s*"([^"]*)"\s+
href\s*=\s*"([^"]*)"\s*>''',
re.MULTILINE | re.VERBOSE)
link_pat = re.compile(r'''<PYGTKDOCLINK\s+HREF="([^"]*)"\s*>(.*?)
- </PYGTKDOCLINK\s*>''', re.VERBOSE)
+ </PYGTKDOCLINK\s*>''', re.DOTALL|re.VERBOSE)
def scan_index_dir(idir):
#print 'scanning dir', idir
for root, dirs, files in os.walk(idir):