示例#1
0
文件: table.py 项目: igraph/pydoctor
 def class_(self, request, tag):
     class_ = util.css_class(self.child)
     if self.child.parent is not self.ob:
         class_ = 'base' + class_
     return class_
示例#2
0
 def heading(self):
     return tags.h1(class_=util.css_class(self.ob))(tags.code(
         self.namespace(self.ob)))
示例#3
0
 def class_(self, request: object, tag: Tag) -> "Flattenable":
     class_ = util.css_class(self.ob)
     if self.ob.parent is not self.ob:
         class_ = 'base' + class_
     return class_