Example #1
0
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")

g.generate()
Example #2
0
import os.path
import os

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

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.sk.htm")
g.include(".miesta.sk.htm")

g.generate()
Example #3
0
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)

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

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

g.include(".kontakt.sk.htm")
g.include(".miesta.sk.htm")

g.include(os.path.join("img","logo-small.png"))
g.include(os.path.join("img","logo-big.png"))

g.generate()
Example #4
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()