Changeset 233
- Timestamp:
- 12/28/05 11:30:57 (3 years ago)
- Files:
-
- doxygenplugin/0.9/doxygentrac/doxygentrac.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doxygenplugin/0.9/doxygentrac/doxygentrac.py
r232 r233 40 40 req.args['path'] = ''.join([self.config.get('doxygen', 'path'), '/main.html']) 41 41 return True 42 elif req.path_info != '/': 42 elif re.match(r'''^/.*[.]html$''', req.path_info): 43 self.log.debug("path = %s" % (req.path_info)) 43 44 path = ''.join([self.config.get('doxygen', 'path'), req.path_info]) 44 45 req.args['path'] = path 45 46 return os.path.exists(path) 47 48 return False 46 49 47 50 def process_request(self, req): … … 54 57 from pkg_resources import resource_filename 55 58 return [resource_filename(__name__, 'templates')] 56 59 57 60 # ISearchProvider methods 58 61
