diff --git a/docs/readthedocs/settings/local_settings.py b/docs/readthedocs/settings/local_settings.py new file mode 100644 index 0000000000..8d2bac7a76 --- /dev/null +++ b/docs/readthedocs/settings/local_settings.py @@ -0,0 +1,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 +)