From a7808ff8538645e2d29c3dceb973008a1b47640c Mon Sep 17 00:00:00 2001 From: Mishig Date: Thu, 28 Sep 2023 15:37:50 +0200 Subject: [PATCH] Fix launcher.md (#1075) Adding a new line to escape between heading and codeblock. However, it is a hotfix and I will work on a permanent solution on https://github.com/huggingface/doc-builder --- docs/source/basic_tutorials/launcher.md | 1 + update_doc.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/basic_tutorials/launcher.md b/docs/source/basic_tutorials/launcher.md index eb34c1f6..b3498247 100644 --- a/docs/source/basic_tutorials/launcher.md +++ b/docs/source/basic_tutorials/launcher.md @@ -1,4 +1,5 @@ # Text-generation-launcher arguments + ``` Text Generation Launcher diff --git a/update_doc.py b/update_doc.py index 7e8fb769..3d68fc7f 100644 --- a/update_doc.py +++ b/update_doc.py @@ -11,7 +11,7 @@ def main(): output = subprocess.check_output(["text-generation-launcher", "--help"]).decode( "utf-8" ) - final_doc = f"# Text-generation-launcher arguments\n```\n{output}\n```" + final_doc = f"# Text-generation-launcher arguments\n\n```\n{output}\n```" filename = "docs/source/basic_tutorials/launcher.md" if args.check: