2014-12-21 12:21:06 +01:00
|
|
|
import os
|
|
|
|
|
|
|
|
# Directory that the project lives in, aka ../..
|
2023-10-21 08:40:27 +02:00
|
|
|
SITE_ROOT = "/".join(os.path.dirname(__file__).split("/")[0:-2])
|
2014-12-21 12:21:06 +01:00
|
|
|
|
|
|
|
TEMPLATE_DIRS = (
|
2023-10-21 08:40:27 +02:00
|
|
|
"%s/templates/"
|
|
|
|
% SITE_ROOT, # Your custom template directory, before the RTD one to override it.
|
|
|
|
"%s/readthedocs/templates/" % SITE_ROOT, # Default RTD template dir
|
2014-12-21 12:21:06 +01:00
|
|
|
)
|