Skip to content
Snippets Groups Projects
Commit 7b80d908 authored by Damien George's avatar Damien George
Browse files

docs: Add RTD local_settings file, to add custom templates.

parent 9b561a7c
No related branches found
No related tags found
No related merge requests found
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
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment