def makeItSo(markdown, folder, files, technique = normalHtml): elfFiles.ensureDir(markdown.destination) if technique == revealHtml: markdown.runReveal(files); else: # markdown.runner(files, ['StartLinux.html', 'NavLinux.html', 'footer.html', 'end.html']); markdown.runner(files, ['StartBackOne.html', 'NavBackOne.html', 'footer.html', 'end.html']);
def makeItSo(markdown, folder, files, technique = normalHtml): markdown.copyFrom = stackEditFrom markdown.destination = bcTo elffiles.ensureDir(markdown.destination) if technique == revealHtml: markdown.runReveal(files); else: markdown.runner(files, ['StartLinux.html', 'NavLinux.html', 'footer.html', 'end.html']);
def setUp(self): self.curDir = os.getcwd() self.tempStartDir = os.path.join(self.curDir, "tempStart" + os.sep) self.tempDestDir = os.path.join(self.curDir, "tempEnd" + os.sep) elfFiles.ensureDir(self.tempStartDir) elfFiles.ensureDir(self.tempDestDir) file1 = open(self.tempStartDir + "Temp.txt", "w") file1.write("SomeText") file1.close()
def makeItSo(markdown, folder, files, technique=normalHtml): markdown.copyFrom = stackEditFrom markdown.destination = bcTo elffiles.ensureDir(markdown.destination) if technique == revealHtml: markdown.runReveal(files) else: markdown.runner( files, ['StartLinux.html', 'NavLinux.html', 'footer.html', 'end.html'])
def makeItSo(markdown, folder, files, technique = normalHtml): elfFiles.ensureDir(markdown.destination) if technique == revealHtml: markdown.runReveal(files); else: markdown.runner(files, ['start.html', 'nav.html', 'footer.html', 'end.html']);
def makeItSo(markdown, folder, files, htmlPieces, technique = normalHtml): elfFiles.ensureDir(markdown.destination) if technique == revealHtml: markdown.runReveal(files); else: markdown.runner(files, htmlPieces);