コード例 #1
0
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']);
コード例 #2
0
ファイル: BuildAll.py プロジェクト: AlbertoGarcia/JsObjects
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']);
コード例 #3
0
ファイル: TestFiles.py プロジェクト: AlbertoGarcia/JsObjects
 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()
コード例 #4
0
ファイル: BuildAll.py プロジェクト: venkat2195/JsObjects
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'])
コード例 #5
0
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']);
コード例 #6
0
def makeItSo(markdown, folder, files, htmlPieces, technique = normalHtml):
	elfFiles.ensureDir(markdown.destination)
	if technique == revealHtml:
		markdown.runReveal(files);
	else:
		markdown.runner(files, htmlPieces);