From 69cc1fa005429c447758d0ffa376a6d5be97bc1a Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 2 Sep 2020 11:06:11 -0700 Subject: [PATCH] End .nojekyll file with newline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before: /path/to$ cat book/.nojekyll This file makes sure that Github Pages doesn't process mdBook's output./path/to$ ▎ After: /path/to$ cat book/.nojekyll This file makes sure that Github Pages doesn't process mdBook's output. /path/to$ ▎ --- src/renderer/html_handlebars/hbs_renderer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/html_handlebars/hbs_renderer.rs b/src/renderer/html_handlebars/hbs_renderer.rs index 7880817b..9b5fc95e 100644 --- a/src/renderer/html_handlebars/hbs_renderer.rs +++ b/src/renderer/html_handlebars/hbs_renderer.rs @@ -184,7 +184,7 @@ impl HtmlHandlebars { write_file( destination, ".nojekyll", - b"This file makes sure that Github Pages doesn't process mdBook's output.", + b"This file makes sure that Github Pages doesn't process mdBook's output.\n", )?; write_file(destination, "book.js", &theme.js)?;