mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-10 01:10:27 +00:00
10 lines
228 B
Python
10 lines
228 B
Python
|
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))
|