From 78af27f95588982f0abfadb06751661c989e80f1 Mon Sep 17 00:00:00 2001 From: Roman Khavronenko Date: Thu, 6 Oct 2022 14:04:25 +0200 Subject: [PATCH] docs: when modifying docs in place allow storing backups (#3205) The stored backups would help to identify docs corruption but aren't needed for commiting. So `.tmp` backup files are also git-ignored. Signed-off-by: hagen1778 Signed-off-by: hagen1778 --- .gitignore | 3 ++- Makefile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 9aa07d068..5d6c51631 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,5 @@ .DS_store Gemfile.lock /_site -_site \ No newline at end of file +_site +*.tmp \ No newline at end of file diff --git a/Makefile b/Makefile index a821b9f39..036281a04 100644 --- a/Makefile +++ b/Makefile @@ -402,7 +402,7 @@ copy-docs: echo "---\nsort: ${ORDER}\n---\n" > ${DST}; \ fi cat ${SRC} >> ${DST} - sed -i 's/