Exemplo n.º 1
0
 def _makeOne(self, directories, outdir):
     from htmlpp.loader import get_repository
     return get_repository(directories, outdir=outdir)
Exemplo n.º 2
0
def render(args):
    from htmlpp.loader import get_repository
    directories = [args.directory]
    with open(args.file) as rf:
        print(get_repository(directories).render(rf.read()))
Exemplo n.º 3
0
 def _makeOne(self, directories, outdir):
     from htmlpp.loader import get_repository
     return get_repository(directories, outdir=outdir)