Skip to content

Commit 12829be

Browse files
authored
DOP-1094: Add trailing newline to inventory to appease intermanual (#158)
1 parent 90d90b0 commit 12829be

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

snooty/intersphinx.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ def dumps(self, name: str, version: str) -> bytes:
8080
)
8181
)
8282

83+
# giza/intermanual expects a terminating newline
84+
lines.append("")
85+
8386
buffer.append(zlib.compress(bytes("\n".join(lines), "utf-8"), 9))
8487

8588
return b"".join(buffer)

0 commit comments

Comments
 (0)