On Saturday, March 18, 2023 at 1:28:05 PM UTC-4 [email protected] wrote:
Hello Thomas
....
I used a slightly simpler version, since I did not want to add any
dependency & make it non-windows specific:
import sys
import subprocess
pyexe = sys.executable
cmd = [pyexe, '-m', 'sphinx', '-C',
'-D', 'master_doc=html/leo_toc',
'-D', 'source_suffix=.html.txt',
'-D', 'project=Leo Docs',
'.', 'result']
subprocess.call(cmd)
I originally used "result" as the output directory too. I changed to a
temp directory to keep it out of the LeoDocs tree, thinking it would
simplify commits if the output were not in there. But I suppose a lot of
the intermediate files end up in the LeoDocs directories anyway, so it
probably doesn't matter.
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/5f9f21bc-6bba-4f73-88f1-fc95b09dd838n%40googlegroups.com.