File tree 3 files changed +1
-4
lines changed
3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 27
27
from readthedocs .projects .models import Feature
28
28
29
29
from ..base import BaseBuilder , restoring_chdir
30
- from ..constants import PDF_RE , SPHINX_STATIC_DIR , SPHINX_TEMPLATE_DIR
30
+ from ..constants import PDF_RE , SPHINX_TEMPLATE_DIR
31
31
from ..environments import BuildCommand , DockerBuildCommand
32
32
from ..exceptions import BuildEnvironmentError
33
33
from ..signals import finalize_sphinx_context_data
@@ -114,7 +114,6 @@ def get_config_params(self):
114
114
'project' : self .project ,
115
115
'version' : self .version ,
116
116
'settings' : settings ,
117
- 'static_path' : SPHINX_STATIC_DIR ,
118
117
'template_path' : SPHINX_TEMPLATE_DIR ,
119
118
'conf_py_path' : conf_py_path ,
120
119
'api_host' : getattr (
Original file line number Diff line number Diff line change 24
24
'templates' ,
25
25
'mkdocs' ,
26
26
)
27
- SPHINX_STATIC_DIR = os .path .join (SPHINX_TEMPLATE_DIR , '_static' )
28
27
29
28
PDF_RE = re .compile ('Output written on (.*?)' )
30
29
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ if not 'html_static_path' in globals():
37
37
html_static_path = []
38
38
if os.path.exists('_static'):
39
39
html_static_path.append('_static')
40
- html_static_path.append('{{ static_path }}')
41
40
42
41
# Add RTD Theme only if they aren't overriding it already
43
42
using_rtd_theme = (
You can’t perform that action at this time.
0 commit comments