Unverified Commit 702d2697 authored by Mishig's avatar Mishig Committed by GitHub
Browse files

[Doc page] Fix launcher page highlighting (#1080)

### Broken highlighting (current)

<img width="800" alt="Screenshot 2023-09-28 at 22 38 15"
src="https://github.com/huggingface/text-generation-inference/assets/11827707/1f07c356-2c3c-4ff0-8ca5-54a032b05d48">

### Fixed highlighting (this PR)

<img width="800" alt="image"
src="https://github.com/huggingface/text-generation-inference/assets/11827707/87fe750d-c26e-4801-95cc-86859a2df52d">
parent b8fefa6b
...@@ -2,7 +2,7 @@ ...@@ -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]
......
...@@ -12,7 +12,7 @@ def main(): ...@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment