From: Quentin Young Date: Thu, 8 Feb 2018 16:53:49 +0000 (-0500) Subject: doc: change html theme, add svg logo X-Git-Tag: frr-5.0-dev~165^2~32 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=2f8c365e02d044898c9286b907695d87f1fa0e1b;p=mirror_frr.git doc: change html theme, add svg logo Signed-off-by: Quentin Young --- diff --git a/doc/developer/conf.py b/doc/developer/conf.py index 1cb1d45af..707891028 100644 --- a/doc/developer/conf.py +++ b/doc/developer/conf.py @@ -157,12 +157,14 @@ todo_include_todos = True # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'sphinx_rtd_theme' +html_theme = 'classic' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -#html_theme_options = {} +html_theme_options = { + 'sidebarbgcolor': '#374249' +} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] @@ -176,7 +178,7 @@ html_theme = 'sphinx_rtd_theme' # The name of an image file (relative to this directory) to place at the top # of the sidebar. -html_logo = '../figures/frr-logo-medium.png' +html_logo = '../figures/frr-icon.svg' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 @@ -186,7 +188,7 @@ html_favicon = '../figures/frr-logo-icon.png' # 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'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied diff --git a/doc/figures/frr-icon.svg b/doc/figures/frr-icon.svg new file mode 100644 index 000000000..f7bdebc62 --- /dev/null +++ b/doc/figures/frr-icon.svg @@ -0,0 +1,39 @@ + +image/svg+xml \ No newline at end of file diff --git a/doc/user/conf.py b/doc/user/conf.py index bd1bf6c04..a9ea4ad90 100644 --- a/doc/user/conf.py +++ b/doc/user/conf.py @@ -157,12 +157,14 @@ todo_include_todos = True # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'sphinx_rtd_theme' +html_theme = 'classic' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -#html_theme_options = {} +html_theme_options = { + 'sidebarbgcolor': '#374249' +} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [] @@ -176,7 +178,7 @@ html_theme = 'sphinx_rtd_theme' # The name of an image file (relative to this directory) to place at the top # of the sidebar. -html_logo = '../figures/frr-logo-medium.png' +html_logo = '../figures/frr-icon.svg' # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 @@ -186,7 +188,7 @@ html_favicon = '../figures/frr-logo-icon.png' # 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'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied