Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Bug fix
  • Loading branch information
Isaac-Flath committed Oct 20, 2024
commit 16fc9bc09c91c9b50f219484a0764ca8cf09e008
2 changes: 1 addition & 1 deletion nbdev/showdoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def _repr_html_(self):
doc += f'<blockquote><pre><code>{self.nm} {sig}</code></pre></blockquote>'
if self.docs:
doc += f"<p><i>{self.docs}</i></p>"
if src: doc += f"<br/>{_html_link(src, "source")}"
if src: doc += f"<br/>{_html_link(src, 'source')}"
if self.dm.has_docment: doc += _create_html_table(str(self.dm))
return doc

Expand Down
2 changes: 1 addition & 1 deletion nbs/api/08_showdoc.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@
" doc += f'<blockquote><pre><code>{self.nm} {sig}</code></pre></blockquote>'\n",
" if self.docs:\n",
" doc += f\"<p><i>{self.docs}</i></p>\"\n",
" if src: doc += f\"<br/>{_html_link(src, \"source\")}\"\n",
" if src: doc += f\"<br/>{_html_link(src, 'source')}\"\n",
" if self.dm.has_docment: doc += _create_html_table(str(self.dm))\n",
" return doc\n",
"\n",
Expand Down
Loading