[Doc page] Fix launcher page highlighting

This commit is contained in:
Mishig Davaadorj 2023-09-28 22:40:11 +02:00
parent 724199aaf1
commit 29e1576af2
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
<!-- WRAP CODE BLOCKS --> <!-- WRAP CODE BLOCKS -->
``` ```shell
Text Generation Launcher Text Generation Launcher
Usage: text-generation-launcher [OPTIONS] Usage: text-generation-launcher [OPTIONS]

View File

@ -12,7 +12,7 @@ def main():
"utf-8" "utf-8"
) )
wrap_code_blocks_flag = "<!-- WRAP CODE BLOCKS -->" wrap_code_blocks_flag = "<!-- WRAP CODE BLOCKS -->"
final_doc = f"# Text-generation-launcher arguments\n\n{wrap_code_blocks_flag}\n\n```\n{output}\n```" final_doc = f"# Text-generation-launcher arguments\n\n{wrap_code_blocks_flag}\n\n```shell\n{output}\n```"
filename = "docs/source/basic_tutorials/launcher.md" filename = "docs/source/basic_tutorials/launcher.md"
if args.check: if args.check: