debug print
This commit is contained in:
parent
bca8d71490
commit
20e8e61d2c
@ -58,7 +58,6 @@ cachedOutPath = "/".join([repo_name,str(inHash)])
|
|||||||
|
|
||||||
# If not already rendered
|
# If not already rendered
|
||||||
if not os.path.isfile(cachedOutPath):
|
if not os.path.isfile(cachedOutPath):
|
||||||
print("rendering")
|
|
||||||
subprocess.run(["asciidoctor", "-s", "--safe-mode", "server", "-a", "showtitle", "-a", "source-highlighter=rouge", "-a", "rouge-css=style", "-a", "rouge-style=base16.monokai.dark", f"--out-file={str(inHash)}", f"--base-dir={repo_name}", inputBufferPath])
|
subprocess.run(["asciidoctor", "-s", "--safe-mode", "server", "-a", "showtitle", "-a", "source-highlighter=rouge", "-a", "rouge-css=style", "-a", "rouge-style=base16.monokai.dark", f"--out-file={str(inHash)}", f"--base-dir={repo_name}", inputBufferPath])
|
||||||
|
|
||||||
# return rendered(or cached) output to stdout
|
# return rendered(or cached) output to stdout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user