From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id DA7F78F05; Mon, 18 May 2026 06:40:40 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id BF2748E7D; Mon, 18 May 2026 06:40:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fout-b2-smtp.messagingengine.com (fout-b2-smtp.messagingengine.com [202.12.124.145]) by atuin.qyliss.net (Postfix) with ESMTPS id 4F8628E7C for ; Mon, 18 May 2026 06:40:35 +0000 (UTC) Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id DA3CE1D000CC; Mon, 18 May 2026 02:40:32 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Mon, 18 May 2026 02:40:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1779086432; x=1779172832; bh=sSlOOdCS7F voFA27q8d04IVA6q2DSQZGsh9imyOcGsk=; b=mk2oR87tkP5Tv0lEn9YumJ6j56 xbdFjGXvtrIaGNhztTs7w0w9mhhNdU1iR6JNMo056ZrYr5caIm2HSDvsZfUlj2+7 qsR1kU7h6/pr5A/7Tkc01ygktu0CXncovmjOWeGU3hFm9qFxp77Ztrp6gvmLYgzo IfCDirHM9Sxv38wpe0lFbhAZ45xh7UsJ5PPsEnEmR2y9LwyRyPQEDB7zZVP6U+CX 4x47DI8uVcs6r1kggTyyJ0Hrl7yDj/g0gQpEx/BRgXxY8VWaozuQmnIncZ6ZjDKz en91pdSQoJd/XvF3OP4Pe0SWtvK1IDNnRAAZq4qFmIgfoQRxdQzO/dWlDBkw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1779086432; x=1779172832; bh=sSlOOdCS7FvoFA27q8d04IVA6q2DSQZGsh9 imyOcGsk=; b=YiBsosCuLwWN1KF906UGz8RGIbUJYmry24UuZ6aR7g/XGHPwZfg aH4nuMxYkQMmM57Mm0fjZYI1Tpk875GvqscWuQkOSLPl9LpO72QyArfFCyOv6mvV 9cY+o6/RmB054NMGFGog6c9DxvH93j0F+bVMkawTSkQIfay8oRDqBjIidBynT2fh cHR90pHcn6zOsHP9G9XugEwd1pdGoKX0ZIVjn0hiS7ukV/eX7w3SRaSnG1jAE6iH nTrgQLy4ROVcVvaeZnc+zDvt1C/pYGOtM1SYQi7a1ygj/JL7434E7ghX7imIa5Kc /lhiGL22FKbClRku1aVU3ND3XybHK9nDDNg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddufeekudejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffffkgggtsehgtderredttddtnecuhfhrohhmpeetlhihshhsrgcu tfhoshhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeeiueefff ehfeeftdffhfegfeeuhfevleefgeekhefgieefleeuueejffekhffghfenucffohhmrghi nhepghhithhhuhgsrdgtohhmpdhsphgvtghtrhhumhdqohhsrdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdr ihhspdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhope hvrghlvghnthhinhesghgrghgrrhhinhdrfihorhhkpdhrtghpthhtohepuggvvhgvlhes shhpvggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 May 2026 02:40:32 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id D0E03811B06D; Mon, 18 May 2026 08:40:28 +0200 (CEST) From: Alyssa Ross To: Valentin Gagarin Subject: Re: [PATCH v2] Documentation: add logo to site header In-Reply-To: <20260515175649.35166-1-valentin@gagarin.work> References: <20260514192145.15648-1-valentin@gagarin.work> <20260515175649.35166-1-valentin@gagarin.work> Date: Mon, 18 May 2026 08:40:27 +0200 Message-ID: <87a4tx5ig4.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: XEXSAJ4CLP563JNOFC5WWSTFWN3RMGGL X-Message-ID-Hash: XEXSAJ4CLP563JNOFC5WWSTFWN3RMGGL X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: devel@spectrum-os.org X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: <> List-Archive: <> List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Valentin Gagarin writes: > Also spell out the title. The stylesheet adjustment makes the logo > align properly with the longer title text for different display widths. > Override the [title template] to show both the title text and the logo. > > [title template]: https://github.com/just-the-docs/just-the-docs/blob/f43= d7cfc4b1e18a97e6d6d20b88f1aaeda0e7196/_includes/title.html > > Signed-off-by: Valentin Gagarin > --- > Documentation/_config.yml | 3 ++- > Documentation/_includes/title.html | 6 ++++++ > Documentation/_sass/custom/custom.scss | 13 +++++++++++++ > 3 files changed, 21 insertions(+), 1 deletion(-) > create mode 100644 Documentation/_includes/title.html > > diff --git a/Documentation/_config.yml b/Documentation/_config.yml > index 90018ba..192633b 100644 > --- a/Documentation/_config.yml > +++ b/Documentation/_config.yml > @@ -1,7 +1,8 @@ > # SPDX-License-Identifier: CC0-1.0 > # SPDX-FileCopyrightText: 2022 Alyssa Ross > --- > -title: Spectrum Docs > +title: Spectrum OS documentation No "OS" in the name. (This might change in the future but should be an atomic change all at once when it happens.) > +logo: "https://spectrum-os.org/logo/logo_html.svg" > theme: just-the-docs > aux_links: > Home: > diff --git a/Documentation/_includes/title.html b/Documentation/_includes= /title.html > new file mode 100644 > index 0000000..36a4017 > --- /dev/null > +++ b/Documentation/_includes/title.html > @@ -0,0 +1,6 @@ > +{% if site.logo %} > +
=
> +{% endif %} > +{% if site.title %} > + {{ site.title }} > +{% endif %} New files need copyright headers (and it's strongly encouraged for changes that aren't completely trivial to existing files). Otherwise release/checks/reuse.nix fails. In this case I'd take the copyright text from Just the Docs' license since that's what their license says must be preserved. > diff --git a/Documentation/_sass/custom/custom.scss b/Documentation/_sass= /custom/custom.scss > index fd5a676..75e3f16 100644 > --- a/Documentation/_sass/custom/custom.scss > +++ b/Documentation/_sass/custom/custom.scss > @@ -20,3 +20,16 @@ > margin-left: 2ch; > } > } > + > +.site-logo { > + width: 3rem; > +} > + > +@media (min-width: 50rem) { > + .site-logo { > + width: 5.5rem; > + } > + .site-title { > + font-size: 1.25rem !important; > + } > +} > --=20 > 2.51.2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCagq0WwAKCRBbRZGEIw/w op6+AQDECe/kV6HEr36wejl7jJ94OIjs/YqPPWcjAM6Gn/LtywEA31J+tG8L9z4Q 0RHkXvbClkRX5BXjsJB6L2qRMFj88Q0= =QT9B -----END PGP SIGNATURE----- --=-=-=--