File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -82,15 +82,15 @@ def select_css(html_css_dir):
82
82
:param html_css_dir: The directory to save the CSS stylesheet.
83
83
:return: Returns a list of CSS files to be imported.
84
84
"""
85
- ret = [ '_static/tabs.css' ]
86
- common_css = '_static/ css/eprosima_rtd_theme.css'
87
- local_css = '_static/ css/fiware_readthedocs.css'
85
+ ret = ''
86
+ common_css = 'css/eprosima_rtd_theme.css'
87
+ local_css = 'css/fiware_readthedocs.css'
88
88
if download_css (html_css_dir ):
89
89
print ('Applying common CSS style file: {}' .format (common_css ))
90
- ret . append ( common_css )
90
+ ret = common_css
91
91
else :
92
92
print ('Applying local CSS style file: {}' .format (local_css ))
93
- ret . append ( local_css )
93
+ ret = local_css
94
94
95
95
return ret
96
96
@@ -492,10 +492,7 @@ def configure_doxyfile(
492
492
# so a file named "default.css" will overwrite the builtin "default.css".
493
493
html_static_path = ['_static' ]
494
494
495
- html_context = {
496
- 'css_files' : select_css (script_path ),
497
- }
498
-
495
+ html_style = select_css (script_path )
499
496
500
497
# Add any extra paths that contain custom files (such as robots.txt or
501
498
# .htaccess) here, relative to this directory. These files are copied
You can’t perform that action at this time.
0 commit comments