From 3762f5503cb597b4a45502aff8fb224cf3a9ae1f Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 28 Feb 2023 17:39:20 +0100 Subject: [PATCH] asciidoctor? --- clone_for_markdown.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clone_for_markdown.py b/clone_for_markdown.py index 19f7bb7..0e6038f 100644 --- a/clone_for_markdown.py +++ b/clone_for_markdown.py @@ -34,5 +34,5 @@ if not os.path.isdir(CACHE_FOLDER_PATH): if not os.path.isdir(repo_name): subprocess.run(["git", "clone", repo_path, repo_name], check=True, stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT) - -print(repo_name) \ No newline at end of file + subprocess.run(["asciidoctor", "-s", "-a", "showtitle", "--out-file=-", f"--base-dir={repo_name}"], stdin=sys.stdin) +