Skip to content

Commit 72a8251

Browse files
authored
Update md_renderer.py
1 parent 9849987 commit 72a8251

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

quartodoc/renderers/md_renderer.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,7 @@ def render(self, el: layout.Doc):
271271
@dispatch
272272
def render(self, el: Union[layout.DocClass, layout.DocModule]):
273273
title = self.render_header(el)
274-
bases=''
275-
if el.show_bases and el.obj.is_class and el.obj.bases:
276-
bases = f"\n\nBases: `{'`, '.join([x.source for x in el.obj.bases])}`"
274+
277275
attr_docs = []
278276
meth_docs = []
279277
class_docs = []
@@ -342,7 +340,7 @@ def render(self, el: Union[layout.DocClass, layout.DocModule]):
342340
body = self.render(el.obj)
343341

344342

345-
return "\n\n".join([title, *sig_part, bases, body, *attr_docs, *class_docs, *meth_docs])
343+
return "\n\n".join([title, *sig_part, body, *attr_docs, *class_docs, *meth_docs])
346344

347345
@dispatch
348346
def render(self, el: Union[layout.DocFunction, layout.DocAttribute]):

0 commit comments

Comments
 (0)