From c4bdb127ce4b4c98ea988dfb025a79425e82b1c4 Mon Sep 17 00:00:00 2001 From: arjunrc Date: Sat, 19 Dec 2015 16:53:30 -0500 Subject: [PATCH] fixed custom style breaking rtd theme --- docs/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 11d1fb392..109161b24 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -15,6 +15,9 @@ import sys import os +def setup(app): + app.add_stylesheet('zmstyle.css') + # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. @@ -130,7 +133,7 @@ html_theme = 'sphinx_rtd_theme' # 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'] #html_style='zmstyles.css' # Add any extra paths that contain custom files (such as robots.txt or