Skip to content

Commit

Permalink
all PR integrated
Browse files Browse the repository at this point in the history
  • Loading branch information
kreuzberger authored and danwos committed Aug 23, 2023
1 parent 81ac559 commit 5991ed4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sphinx_simplepdf/builders/simplepdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ def _toctree_fix(self, html):
if len(headings) - 1 == number:
class_attr.append("last")

heading.attrs["class"] = class_attr

return soup.prettify(formatter="html")


Expand Down

0 comments on commit 5991ed4

Please sign in to comment.