Skip to content

Commit

Permalink
Merge pull request #1 from ericholscher/docs-fix-css-styles
Browse files Browse the repository at this point in the history
Fix how CSS files are added
  • Loading branch information
ericholscher authored Aug 15, 2016
2 parents 3684b03 + 29928d1 commit 4246045
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,12 +179,6 @@

html_static_path = ['sphinx-static']

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

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
Expand Down Expand Up @@ -419,3 +413,11 @@
# line arguments.
kerneldoc_bin = '../scripts/kernel-doc'
kerneldoc_srctree = '..'


def setup(app):
"""
This is a basic Sphinx extension that adds our CSS overrides.
"""
app.add_stylesheet('_static/theme_overrides.css')

0 comments on commit 4246045

Please sign in to comment.