|
|
@ -73,7 +73,7 @@ class Document: |
|
|
|
#cmd.append(['rm', self.doc_path + '/build/weasyprint/index.pdf', self.doc_path + '/build/weasyprint/toc.tex', self.doc_path + '/build/weasyprint/toc.pdf', self.doc_path + '/build/weasyprint/GuidedemontageVheliotech.pdf']) |
|
|
|
#cmd.append(['rm', self.doc_path + '/build/weasyprint/index.pdf', self.doc_path + '/build/weasyprint/toc.tex', self.doc_path + '/build/weasyprint/toc.pdf', self.doc_path + '/build/weasyprint/GuidedemontageVheliotech.pdf']) |
|
|
|
|
|
|
|
|
|
|
|
# Copy the generated PDF file to the HTML directory, so that it is accessible for download by users |
|
|
|
# Copy the generated PDF file to the HTML directory, so that it is accessible for download by users |
|
|
|
cmd.append(['cp', self.doc_path + '/build/weasyprint/vheliotech.pdf', self.doc_path + '/build/html/vheliotech.pdf']) |
|
|
|
cmd.append(['cp', self.doc_path + '/build/weasyprint/vheliotech.pdf', self.doc_path + '/build/html/guide-de-montage-vheliotech.pdf']) |
|
|
|
|
|
|
|
|
|
|
|
task = ProcessTask(cmd, cwd = self.doc_path + "/repo") |
|
|
|
task = ProcessTask(cmd, cwd = self.doc_path + "/repo") |
|
|
|
task.start() |
|
|
|
task.start() |
|
|
|