Exemple #1
0
import generator as g
import glob
import os.path
import os

g.set_target_root(os.path.join(os.pardir,os.pardir,"www","cz"))

g.enqueue("index.htm")
g.enqueue("kontakt.htm")
g.enqueue("registracia.htm")
g.enqueue("miesta.htm")

g.enqueue(os.path.join("onaboji","index.htm"))
g.enqueue(os.path.join("onaboji","pravidla.htm"))
g.enqueue(os.path.join("onaboji","harmonogram.htm"))
#g.enqueue(os.path.join("onaboji","faq.htm"))

g.enqueue(os.path.join("akopomoct","index.htm"))
g.enqueue(os.path.join("akopomoct","zs-ucitel.htm"))
g.enqueue(os.path.join("akopomoct","zs-skola.htm"))
g.enqueue(os.path.join("akopomoct","ss-ziak.htm"))
g.enqueue(os.path.join("akopomoct","ss-ucitel.htm"))
g.enqueue(os.path.join("akopomoct","ss-skola.htm"))
g.enqueue(os.path.join("akopomoct","firma.htm"))
g.enqueue(os.path.join("akopomoct","nadsenec.htm"))

for f in glob.glob(os.path.join("bootstrap","*")):
	g.include(f)

g.include(".kontakt.cz.htm")
g.include(".miesta.cz.htm")
Exemple #2
0
import generator as g
import glob
import os
import os.path

g.set_target_root(os.path.join(os.pardir,os.pardir,"www","orgs"))

g.enqueue("index.htm")
g.enqueue("pridajmiesto.htm")
g.enqueue("pridajulohu.htm")

for f in glob.glob("bootstrap/*"):
	g.include(f)

g.generate()