Use Sphinx defaults when config values are missing 75/9675/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 28 Mar 2018 23:02:21 +0000 (16:02 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Wed, 28 Mar 2018 23:02:21 +0000 (16:02 -0700)
More of these should be verified and moved into defaults.yaml where it
makes sense. We should not change those that make sense such as
'source_suffix', and 'master_doc'.

Change-Id: Iced9fbe6ddd20145d8aa354fdef5edb0638dbbdb
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
docs_conf/conf.py

index c66aa4d..54995b8 100644 (file)
@@ -89,10 +89,10 @@ templates_path = cfg.get('templates_path', ['_templates'])
 todo_include_todos = cfg.get('todo_include_todos', False)
 
 html_extra_path = cfg.get('html_extra_path', [])
-html_favicon = cfg.get('html_favicon', 'favicon.ico')
-html_logo = cfg.get('html_logo', '_static/logo.png')
+html_favicon = cfg.get('html_favicon', None)
+html_logo = cfg.get('html_logo', None)
 html_sidebars = cfg.get('html_sidebars', {'**': ['localtoc.html', 'relations.html'], })
-html_static_path = cfg.get('html_static_path', ['_static'])
+html_static_path = cfg.get('html_static_path', [])
 html_theme = cfg.get('html_theme', 'bootstrap')
 html_theme_options = cfg.get('html_theme_options', {
     'bootswatch_theme': "cerulean",