From patchwork Tue Nov 7 09:20:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marc_Poulhi=C3=A8s?= X-Patchwork-Id: 162351 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:aa0b:0:b0:403:3b70:6f57 with SMTP id k11csp114606vqo; Tue, 7 Nov 2023 01:28:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxmFFG+4Hoc7SfTAgS8GG4ol34O7CSbpuG9BUJog+CgPpgH9U1TC2nAB6lmAdVIm3rnP1U X-Received: by 2002:a05:620a:2717:b0:77a:2ff:779b with SMTP id b23-20020a05620a271700b0077a02ff779bmr34230135qkp.21.1699349331857; Tue, 07 Nov 2023 01:28:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1699349331; cv=pass; d=google.com; s=arc-20160816; b=MgeCk8FdW3a+HqjjTBs4MzK8b/uneZcDV6O9AvARuseyyCR6fIwSPWdz7yTbs3uhTE 62m6yCnwLl9SwBdFlcfflggBdFQGHeb3zoqMhTMz9cRPbbGJgCOaAs/X8vtwDK3n0ZdJ UsP89zFEYJfAsLroByvk507/TU1NP0GM36ouqLqQy+eka86SISSLnJ3VGEycCPfB8BpE SXAE5mubup7XwFCLGMIGMn3wCClwBpttu/iFtv2MTvidSqw++Kz6MOmPEz6W4c9TbUHp SkYiqQyKVMutevdqU3oBTJhcKoeeaRewih9IFZQZyXUIJDGrabnjertAykiNaQ+fFlWh i6yA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=mfdlEp3pGpg3+51x9k7IE3Yt0sQuH4EGrusjuCjbrk8=; fh=iqDo1/rjdUQMM0056Cocr+SfjD651vws+CxpRIBxX9U=; b=Jn5OH6dsf8MN2x1I7j648sK7YCZSVs1EHL37UHZdz8p1XdmSDE3WGrb3lLCWToInRC LLC/qofMkrWNc5JyBVS9PSFGg/3/VjZn7oTcc41R2ax5svvuLI2xdHLaEthJmP7W5byH Nngx6x/j8g0X5m9RWsC2R0PGTdSARcZ59ZSzLE6Q6RWqbkX5b6JElVOqy0LmMIF+J2Y8 38JMlifGqym0s9rlHVkzqE2zqltJ1Bw4vXynq0rW0PklDkhmcs8uUYJ9trYDkBxOjO5U /TeoKiPSrav+BWzLIMphrnxav2FSeRZ+V0G40wyVUrtoLptdZWGOzGZOr99TCbf71QUu q9/w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@adacore.com header.s=google header.b=fAt76lA+; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=adacore.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id ef4-20020a05620a808400b00767cf648a19si7004061qkb.443.2023.11.07.01.28.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 01:28:51 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@adacore.com header.s=google header.b=fAt76lA+; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=adacore.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9E3843858C66 for ; Tue, 7 Nov 2023 09:28:51 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id 444F638768BB for ; Tue, 7 Nov 2023 09:20:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 444F638768BB Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 444F638768BB Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::330 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699348848; cv=none; b=i+/NSO0vrWFKsfzqwV9l55rinDjLLL8jNGK9b+SY1bnuFQH6dggZ77kmuWjjSTBKFArFdGr6ucPtyj3xBwc496nwf+E5Jx9Ts33l29XumRpv/QV7Q7f//db4SUNZzRwZoKQb/rIsOS4VjCEtYIxsgCT5JEbIWApG+lSbsuPZ5nE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699348848; c=relaxed/simple; bh=JH3D3yRm9cmyaTRUiXtUli7xRcCja24YfbDsvXWCUvE=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Nu1riAukJ79ZeiE5cajsy/MUWE0cCNDZ3RBls6PZplFmyUCboRa6+KvdL/n/PS4nF9WkL453CwWVbzMLLkN7VwLjMYApdniFdiX6RMCOg0n2W47LN32/LGprz15BmZy4m9SgD7KbArMJrmGVVXRyfw8X3TOxp5bGiY7nK163uvM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40842752c6eso41558715e9.1 for ; Tue, 07 Nov 2023 01:20:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1699348845; x=1699953645; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=mfdlEp3pGpg3+51x9k7IE3Yt0sQuH4EGrusjuCjbrk8=; b=fAt76lA+aV0+v2vADU/9h9b+Oe4VyN6G3XIK6Zz0t+OtkWl4/3fmTZZ7yBhDJ0WHs9 Vd67M1K/v3DTgg2HVyO4SW7/t5RMa9Z6YxcZK28eWT246Iir0Sl+d+HvraxHdaorvGCw 64r093YzUEfi0M3kpd0qGVKd//nSHWViIqoFljMPvtPZk73aaI+Uz6ohLFEDCu5p92zt WFuRcSz4Xh+zhk3AgaaqC3GCpK2vOyvwgfTtiBwm18aO4TolPD3lmJ93XiklRHgPmX0A 1yG9YzVAnlqHPI6I7KPGJ7HuOlgtBTZCgDF6kIT4ZiYwVjULSGh4Vz7oBAlxhRmjyqTV GCjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699348845; x=1699953645; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mfdlEp3pGpg3+51x9k7IE3Yt0sQuH4EGrusjuCjbrk8=; b=JRdJfdUBFx28lKgqBZTEpyUZIg0Pw+bLfoz4NGuyTD5IYwtK4ZHvHg1W9tXh8lOV/G YWvNjtbFAeqrjqdGbM1N3q3Ne2AeUGj8KRODbrQFXbBlxrr97SuhH+8LnVUkqSlXn66f sE4pJ6pGSkWr9qK9Egl+mJxd8RGlG6csGmamCxdlUZs7wrCM+QEjGdGQ7Yxn8MNwHyeY Muq1DkommscbElTpWYcN5S1H0wvJQJpEQkKjJO4VLrw9/SPkQh9YXposbKOUfS9hChtc 2Co0JyJaRm5ERAIy5iCPr6X+4B18TIsDuWJcbmsMb+jQZid0LEvYaKYwJ1ZfB/7YL2qW Ursg== X-Gm-Message-State: AOJu0YwEiIGp4A2P7Qjbtmcpdr3p48y2xHkMDYHh/0j6M4VFMBMErm5K miFLuKRyRUK9u74QBCqhcQ9C3ENUMTtXWERLgv2w3Q== X-Received: by 2002:a05:600c:4709:b0:406:53f1:d629 with SMTP id v9-20020a05600c470900b0040653f1d629mr1608796wmo.5.1699348844944; Tue, 07 Nov 2023 01:20:44 -0800 (PST) Received: from localhost.localdomain ([2001:861:3382:1a90:dbc1:a1d1:2e58:4040]) by smtp.gmail.com with ESMTPSA id n5-20020a05600c3b8500b004064e3b94afsm15186191wms.4.2023.11.07.01.20.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Nov 2023 01:20:44 -0800 (PST) From: =?utf-8?q?Marc_Poulhi=C3=A8s?= To: gcc-patches@gcc.gnu.org Cc: Julien Bortolussi Subject: [COMMITTED] ada: Update the logo in the gnat doc Date: Tue, 7 Nov 2023 10:20:42 +0100 Message-ID: <20231107092042.3906911-1-poulhies@adacore.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781896924844925766 X-GMAIL-MSGID: 1781896924844925766 From: Julien Bortolussi 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'