From 30a5155cecc666be081c6ec3d5911cd08ab06da7 Mon Sep 17 00:00:00 2001 From: Shivansh-007 Date: Mon, 25 Oct 2021 05:40:36 +0530 Subject: [PATCH] Correct default template file extension --- scripts/news/__main__.py | 2 +- .../{default_template.rst.jinja => default_template.md.jinja} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename scripts/news/{default_template.rst.jinja => default_template.md.jinja} (100%) diff --git a/scripts/news/__main__.py b/scripts/news/__main__.py index 5c7b4394..eecfc509 100644 --- a/scripts/news/__main__.py +++ b/scripts/news/__main__.py @@ -201,7 +201,7 @@ def cli_build_news(ctx: click.Context) -> None: template = CONFIG["core"].get("template") if not template: - template = Path(Path.cwd(), "scripts/news/default_template.rst.jinja") + template = Path(Path.cwd(), "scripts/news/default_template.md.jinja") else: template = Path(Path.cwd(), f"scripts/news/{template}") diff --git a/scripts/news/default_template.rst.jinja b/scripts/news/default_template.md.jinja similarity index 100% rename from scripts/news/default_template.rst.jinja rename to scripts/news/default_template.md.jinja