1# 2# Copyright (C) 2000 Stephen Davies 3# Copyright (C) 2000 Stefan Seefeld 4# All rights reserved. 5# Licensed to the public under the terms of the GNU LGPL (>= 2), 6# see the file COPYING for details. 7# 8 9from Synopsis.Formatters.HTML.Tags import * 10from Default import Default 11 12class DetailCommenter(Default): 13 """Add annotation details to all declarations.""" 14 15 def format_declaration(self, decl): 16 17 details = self.processor.documentation.details(decl, self.view) 18 return div('doc', details or '') 19 20