Skip to content

Commit

Permalink
use add_stylesheet instead of html_context to set css file
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiZhuang committed Jan 18, 2018
1 parent 975473c commit f3027f7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,8 @@
'display_version': False,
}

html_context = {
'css_files': [
'_static/css/cloud_GC.css'
],
}

def setup(app):
app.add_stylesheet('css/cloud_GC.css')

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down

0 comments on commit f3027f7

Please sign in to comment.