Changeset 2651
- Timestamp:
- 09/22/07 18:34:08 (1 year ago)
- Files:
-
- doxygenplugin/0.10/doxygentrac/doxygentrac.py (modified) (5 diffs)
- doxygenplugin/0.11/doxygentrac/doxygentrac.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doxygenplugin/0.10/doxygentrac/doxygentrac.py
r1983 r2651 108 108 req.args['path'] = path 109 109 return True 110 110 111 111 def process_request(self, req): 112 112 req.perm.assert_permission('DOXYGEN_VIEW') … … 150 150 req.hdf['doxygen.wiki_page'] = wiki 151 151 return 'doxygen.cs', 'text/html' 152 152 153 # use configured Doxygen index 153 154 path = os.path.join(self.base_path, self.default_doc, 154 155 self.html_output, self.index) 156 157 self.log.debug('path: %s' % (path,)) 158 155 159 # security check 156 160 path = os.path.abspath(path) … … 165 169 return 'doxygen.cs', 'text/html' 166 170 else: 167 req.send_file(path, mimetype) 171 req.send_file(path, mimetype) 168 172 169 173 # ITemplateProvider methods … … 214 218 215 219 # IWikiSyntaxProvider 216 220 217 221 def get_link_resolvers(self): 218 222 def doxygen_link(formatter, ns, params, label): … … 264 268 file or self.index]) 265 269 else: 266 doc = ''267 270 doc = self.html_output 271 268 272 def lookup(file, category='undefined'): 269 273 """Build (full path, relative link) and check if path exists.""" doxygenplugin/0.11/doxygentrac/doxygentrac.py
r2069 r2651 109 109 req.args['path'] = path 110 110 return True 111 111 112 112 def process_request(self, req): 113 113 req.perm.assert_permission('DOXYGEN_VIEW') … … 154 154 path = os.path.join(self.base_path, self.default_doc, 155 155 self.html_output, self.index) 156 157 self.log.debug('path: %s' % (path,)) 158 156 159 # security check 157 160 path = os.path.abspath(path) … … 215 218 216 219 # IWikiSyntaxProvider 217 220 218 221 def get_link_resolvers(self): 219 222 def doxygen_link(formatter, ns, params, label): … … 265 268 file or self.index]) 266 269 else: 267 doc = ''268 270 doc = self.html_output 271 269 272 def lookup(file, category='undefined'): 270 273 """Build (full path, relative link) and check if path exists."""
