We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b561a7 commit 7b80d90Copy full SHA for 7b80d90
docs/readthedocs/settings/local_settings.py
@@ -0,0 +1,9 @@
1
+import os
2
+
3
+# Directory that the project lives in, aka ../..
4
+SITE_ROOT = '/'.join(os.path.dirname(__file__).split('/')[0:-2])
5
6
+TEMPLATE_DIRS = (
7
+ "%s/templates/" % SITE_ROOT, # Your custom template directory, before the RTD one to override it.
8
+ "%s/readthedocs/templates/" % SITE_ROOT, # Default RTD template dir
9
+)
0 commit comments