How to use the staticjinja.staticjinja.Site.make_site function in staticjinja

To help you get started, we’ve selected a few staticjinja examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Ceasar / staticjinja / staticjinja / staticjinja.py View on Github external
def make_site(searchpath="templates",
              outpath=".",
              contexts=None,
              rules=None,
              encoding="utf8",
              followlinks=True,
              extensions=None,
              staticpaths=None,
              filters=None,
              env_globals=None,
              env_kwargs=None,
              mergecontexts=False):
    warnings.warn("make_site was renamed to Site.make_site.")
    return Site.make_site(searchpath=searchpath,
                          outpath=outpath,
                          contexts=contexts,
                          rules=rules,
                          encoding=encoding,
                          followlinks=followlinks,
                          extensions=extensions,
                          staticpaths=staticpaths,
                          filters=filters,
                          env_globals=env_globals,
                          env_kwargs=env_kwargs,
                          mergecontexts=mergecontexts)