sphinx-autoapi/autoapi/settings.py

10 lines
228 B
Python
Raw Normal View History

2015-04-08 05:54:53 +00:00
import os
from jinja2 import Environment, FileSystemLoader
SITE_ROOT = os.path.dirname(os.path.realpath(__file__))
TEMPLATE_DIR = os.path.join(SITE_ROOT, 'templates')
env = Environment(loader=FileSystemLoader(TEMPLATE_DIR))