File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 7
7
# http://www.sphinx-doc.org/en/master/config
8
8
9
9
import os
10
+ import sys
10
11
from recommonmark .parser import CommonMarkParser
11
12
13
+ # PYTHONPATH = docs/source
14
+ DOC_SOURCES_DIR = os .path .dirname (os .path .abspath (__file__ ))
15
+ PROJECT_ROOT_DIR = os .path .dirname (os .path .dirname (DOC_SOURCES_DIR ))
16
+ sys .path .insert (0 , DOC_SOURCES_DIR )
17
+ print ('PROJECT_ROOT_DIR' , PROJECT_ROOT_DIR )
18
+
12
19
# -- Project information -----------------------------------------------------
13
20
14
21
project = 'Aurora Learning Platform'
74
81
#
75
82
on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
76
83
84
+ # Hack for lacking git-lfs support ReadTheDocs
85
+ if on_rtd :
86
+ print ('Fetching files with git_lfs' )
87
+ from git_lfs import fetch
88
+ fetch (PROJECT_ROOT_DIR )
89
+
90
+
77
91
import sphinx_rtd_theme
78
92
html_theme = 'sphinx_rtd_theme'
79
93
html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
Original file line number Diff line number Diff line change 1
- sphinx-tabs
1
+ sphinx-tabs
2
+ git-lfs
You can’t perform that action at this time.
0 commit comments