From 86736cb93ab4c86a9293924b8d064e06c5b584f8 Mon Sep 17 00:00:00 2001 From: Merve Noyan Date: Thu, 21 Sep 2023 12:06:15 +0200 Subject: [PATCH] added codeblock, include removal of md file --- .github/workflows/auto_docs.yml | 4 +++- docs/source/basic_tutorials/launcher.md | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/auto_docs.yml b/.github/workflows/auto_docs.yml index 95782f1c..89ec6606 100644 --- a/.github/workflows/auto_docs.yml +++ b/.github/workflows/auto_docs.yml @@ -22,8 +22,10 @@ jobs: - name: Update Docs run: | output="${{ steps.run-launcher-help.outputs.output }}" - + rm ../../docs/source/basic_tutorials/launcher.md + echo '```' >> ../../docs/source/basic_tutorials/launcher.md echo $output >> ../../docs/source/basic_tutorials/launcher.md + echo '```' >> ../../docs/source/basic_tutorials/launcher.md git add launcher.md git commit -m "Update launcher.md" diff --git a/docs/source/basic_tutorials/launcher.md b/docs/source/basic_tutorials/launcher.md index af759f9f..8d64d4b3 100644 --- a/docs/source/basic_tutorials/launcher.md +++ b/docs/source/basic_tutorials/launcher.md @@ -1,3 +1,4 @@ +``` Text Generation Launcher Usage: text-generation-launcher [OPTIONS] @@ -225,3 +226,4 @@ Options: -V, --version Print version +```