Skip to content
Snippets Groups Projects
Commit 09e5e68c authored by Julien Bortolussi's avatar Julien Bortolussi Committed by Marc Poulhiès
Browse files

ada: Update the logo in the gnat doc

Update the logo and the background color in the top right corner of the
GNAT User’s Guide for Native Platforms

gcc/ada/

	* doc/share/conf.py: Changed the background color and the logo.
parent 003fe135
No related branches found
No related tags found
No related merge requests found
...@@ -138,10 +138,13 @@ tags.add(get_gnat_build_type()) ...@@ -138,10 +138,13 @@ tags.add(get_gnat_build_type())
# Define figures to be included # Define figures to be included
html_theme = 'sphinx_rtd_theme' html_theme = 'sphinx_rtd_theme'
if os.path.isfile('adacore_transparent.png'): html_theme_options = {
"style_nav_header_background": "#12284c",
}
if os.path.isfile('adacore-logo-white.png'):
# split html and pdf logos to avoid 'same name' error in sphinx <5.2+ # split html and pdf logos to avoid 'same name' error in sphinx <5.2+
html_logo = 'adacore_transparent.png' html_logo = 'adacore-logo-white.png'
latex_logo = 'adacore_transparent.png' latex_logo = 'adacore-logo-white.png'
if os.path.isfile('favicon.ico'): if os.path.isfile('favicon.ico'):
html_favicon = 'favicon.ico' html_favicon = 'favicon.ico'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment