Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kianmeng committed Mar 21, 2022
1 parent d7241b1 commit 9c82433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nbsphinx.py
Expand Up @@ -363,7 +363,7 @@
\setbox\nbsphinxbox\vtop{{#1\par}}
% reserve some space at bottom of page, else start new page
\needspace{\dimexpr2.5\baselineskip+\ht\nbsphinxbox+\dp\nbsphinxbox}
% mimick vertical spacing from \section command
% mimic vertical spacing from \section command
\addpenalty\@secpenalty
\@tempskipa 3.5ex \@plus 1ex \@minus .2ex\relax
\addvspace\@tempskipa
Expand Down Expand Up @@ -1248,7 +1248,7 @@ class NbGallery(sphinx.directives.other.TocTree):
"""A thumbnail gallery for notebooks."""

def run(self):
"""Wrap GalleryToc arount toctree."""
"""Wrap GalleryToc around toctree."""
ret = super().run()
try:
toctree_wrapper = ret[-1]
Expand Down

0 comments on commit 9c82433

Please sign in to comment.