From c06c5912eff1a345e225b4cd7e9550f954c275ed Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Tue, 3 Apr 2018 14:04:40 +0100 Subject: [PATCH] Use add_stylesheet to add custom stylesheet --- docs/conf.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 3401fb4c5..22f65bc43 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -160,6 +160,8 @@ html_context = { 'display_github': True, 'github_user': 'jetstack', 'github_repo': 'cert-manager', - 'github_version': 'master/docs/', - "css_files": ["_static/css/style.css"] + 'github_version': 'master/docs/' } + +def setup(app): + app.add_stylesheet('css/style.css') \ No newline at end of file