Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Jul 14, 2016
1 parent 86c282f commit 7c45924
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/conf.py
Expand Up @@ -67,7 +67,7 @@

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
exclude_patterns = ['_build', 'rtfd-css']

# The reST default role (used for this markup: `text`) to use for all
# documents.
Expand Down Expand Up @@ -148,7 +148,13 @@ def _warn_node(self, msg, node, **kwargs):
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ['_static', 'rtfd-css/docs/rtfd-css']

# Add custom .css files
# https://github.com/snide/sphinx_rtd_theme/issues/117#issuecomment-41571653
def setup(app):
app.add_stylesheet("custom.css")
app.add_stylesheet("rtfd-css.css")

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down

0 comments on commit 7c45924

Please sign in to comment.