Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Fix a bug in reference pdf page
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Feb 7, 2022
1 parent 241ad3b commit 348fecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage_docbuild/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def pdf(self):
html)

# From index.html, we want the preamble and the tail.
html_end_preamble = html.find(r'<section id=".*">')
html_end_preamble = html.find(r'<section')
html_bottom = html.rfind(r'</section>') + len(r'</section>')

# For the content, we modify doc/en/reference/index.rst, which
Expand Down

0 comments on commit 348fecb

Please sign in to comment.