Skip to content

Commit ca2fa35

Browse files
committed
Fix extra newlines after installation blocks.
1 parent 48d4b40 commit ca2fa35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

repo_helper/files/docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ def rewrite_docs_index(repo_path: pathlib.Path, templates: jinja2.Environment) -
716716
templates.globals["on_pypi"],
717717
templates.globals["pypi_name"],
718718
templates.globals["conda_channels"],
719-
)
719+
) + "\n"
720720

721721
links_block = create_docs_links_block(
722722
templates.globals["username"],

repo_helper/files/readme.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def rewrite_readme(repo_path: pathlib.Path, templates: jinja2.Environment) -> Li
7878
templates.globals["on_pypi"],
7979
templates.globals["pypi_name"],
8080
templates.globals["conda_channels"],
81-
)
81+
) + "\n"
8282

8383
readme = readme_file.read_text(encoding="UTF-8")
8484
readme = shields_regex.sub(shields_block, readme)

0 commit comments

Comments
 (0)