* [COMMITTED] ada: Update the logo in the gnat doc
@ 2023-11-07 9:20 Marc Poulhiès
0 siblings, 0 replies; only message in thread
From: Marc Poulhiès @ 2023-11-07 9:20 UTC (permalink / raw)
To: gcc-patches; +Cc: Julien Bortolussi
From: Julien Bortolussi <bortolussi@adacore.com>
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.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/doc/share/conf.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/gcc/ada/doc/share/conf.py b/gcc/ada/doc/share/conf.py
index 48f1a96a309..4773ac96e39 100644
--- a/gcc/ada/doc/share/conf.py
+++ b/gcc/ada/doc/share/conf.py
@@ -138,10 +138,13 @@ tags.add(get_gnat_build_type())
# Define figures to be included
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+
- html_logo = 'adacore_transparent.png'
- latex_logo = 'adacore_transparent.png'
+ html_logo = 'adacore-logo-white.png'
+ latex_logo = 'adacore-logo-white.png'
if os.path.isfile('favicon.ico'):
html_favicon = 'favicon.ico'
--
2.42.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-07 9:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-07 9:20 [COMMITTED] ada: Update the logo in the gnat doc Marc Poulhiès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).