summaryrefslogtreecommitdiffstatshomepage
path: root/docs/readthedocs/settings/local_settings.py
blob: 8d2bac7a7690dad90187062fac0667b885d3285c (plain) (blame)
1
2
3
4
5
6
7
8
9
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
)