I think it works. It doesn't seem to mess up the offline build,
at least. I'm not 100% certain about the exact url, but it
definitely changes the url, so I guess we'll just have to wait
until 2.13.30 to see if it really works or not?
s = s.replace ('%', '%%')
s = hack_urls (s, prefix)
s = add_header (s, prefix)
+ # make the "return to doc index" work with the online website.
+ if target == 'online':
+ if 'Documentation/contributor' in prefix:
+ s = s.replace (
+ 'href=\"../..//Documentation/web/manuals.html\"',
+ 'href=\"../../../../website/development.html\"')
+ else:
+ s = s.replace (
+ 'href=\"../..//Documentation/web/manuals.html\"',
+ 'href=\"../../../../website/manuals.html\"')
### add footer
if footer_tag_re.search (s) == None: