Beispiel #1
0
 def _makeOne(self, directories, outdir):
     from htmlpp.loader import get_repository
     return get_repository(directories, outdir=outdir)
Beispiel #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()))
Beispiel #3
0
 def _makeOne(self, directories, outdir):
     from htmlpp.loader import get_repository
     return get_repository(directories, outdir=outdir)