File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ def _repr_markdown_(self):
171171 doc += f'{ h } { self .nm } \n \n '
172172 sig = _wrap_sig (f"{ self .nm } { _fmt_sig (self .sig )} " ) if self .sig else ''
173173 doc += f'{ sig } '
174- if self .docs : doc += f"\n \n { self .docs } "
174+ if self .docs : doc += f"\n \n * { self .docs } * "
175175 if self .dm .has_docment : doc += f"\n \n { self .dm } "
176176 return doc
177177 __repr__ = __str__ = _repr_markdown_
@@ -199,7 +199,7 @@ def _repr_html_(self):
199199 doc = '<hr/>\n '
200200 doc += f'<h{ self .title_level } >{ self .nm } </h{ self .title_level } >\n '
201201 doc += f'<blockquote><pre><code>{ self .nm } { _fmt_sig (self .sig )} </code></pre></blockquote>'
202- if self .docs : doc += f"<p>{ self .docs } </p>"
202+ if self .docs : doc += f"<p><i> { self .docs } </i> </p>"
203203 return doc
204204
205205 def doc (self ):
Original file line number Diff line number Diff line change 624624 " doc += f'{h} {self.nm}\\ n\\ n'\n " ,
625625 " sig = _wrap_sig(f\" {self.nm} {_fmt_sig(self.sig)}\" ) if self.sig else ''\n " ,
626626 " doc += f'{sig}'\n " ,
627- " if self.docs: doc += f\"\\ n\\ n{self.docs}\"\n " ,
627+ " if self.docs: doc += f\"\\ n\\ n* {self.docs}* \"\n " ,
628628 " if self.dm.has_docment: doc += f\"\\ n\\ n{self.dm}\"\n " ,
629629 " return doc\n " ,
630630 " __repr__=__str__=_repr_markdown_"
973973 " doc = '<hr/>\\ n'\n " ,
974974 " doc += f'<h{self.title_level}>{self.nm}</h{self.title_level}>\\ n'\n " ,
975975 " doc += f'<blockquote><pre><code>{self.nm}{_fmt_sig(self.sig)}</code></pre></blockquote>'\n " ,
976- " if self.docs: doc += f\" <p>{self.docs}</p>\"\n " ,
976+ " if self.docs: doc += f\" <p><i> {self.docs}</i> </p>\"\n " ,
977977 " return doc\n " ,
978978 " \n " ,
979979 " def doc(self):\n " ,
13411341 " #|hide\n " ,
13421342 " import nbdev; nbdev. nbdev_export()"
13431343 ]
1344+ },
1345+ {
1346+ "cell_type" : " code" ,
1347+ "execution_count" : null ,
1348+ "id" : " d478691b" ,
1349+ "metadata" : {},
1350+ "outputs" : [],
1351+ "source" : []
13441352 }
13451353 ],
13461354 "metadata" : {
You can’t perform that action at this time.
0 commit comments