summaryrefslogtreecommitdiffstatshomepage
path: root/docs/readthedocs/settings/local_settings.py
blob: c6145dcc52adff8901d998e3a3e09f69181ff697 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import os

# Directory that the project lives in, aka ../..
SITE_ROOT = "/".join(os.path.dirname(__file__).split("/")[0:-2])

TEMPLATE_DIRS = (
    "%s/templates/"
    % SITE_ROOT,  # Your custom template directory, before the RTD one to override it.
    "%s/readthedocs/templates/" % SITE_ROOT,  # Default RTD template dir
)