Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1stNJM-00FjC9-UZ for pgsql-docs@arkaria.postgresql.org; Wed, 25 Sep 2024 08:23:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1stNJM-005RXG-1v for pgsql-docs@arkaria.postgresql.org; Wed, 25 Sep 2024 08:23:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1stNJL-005RX7-KP for pgsql-docs@lists.postgresql.org; Wed, 25 Sep 2024 08:23:47 +0000 Received: from mout-u-107.mailbox.org ([2001:67c:2050:101:465::107]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1stNJI-000xXQ-E6 for pgsql-docs@lists.postgresql.org; Wed, 25 Sep 2024 08:23:46 +0000 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4XD8rR5Rklz9sbt; Wed, 25 Sep 2024 10:23:35 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ewie.name; s=MBO0001; t=1727252616; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=AmZgcdNtpWm6hPxgUsRESS51DAlKzn0A9OTN6kxw97Y=; b=j9Ur4oFcP9lELSJzTTP5CmoWnLi0geLeDdcJBfNIlxKvvqlXGzpInSY469YTSlVZa1fhJK 1jehLkeji7Ihr4YTKFa8t+GcbApgwGymA/tzoo+PwjJwOjV0n47+TvVGskEhTMnXNIcVWo 2UvyCqKvWA9ejuGZeW7iEbAVPskKL5QqsJNeFNY974bDXttJ1ChvCdgzjhIu3vaY0+wF/p f6s9b5u8/b86G6fxSuYUz4JI4j8N69U/TA4+75SYpu3QNOv5HXHrGhwqxNzCtKwXAER2+r cuy49XCFWWEoUuqh6mgjvhYq/Z9CULGMktTU9E13hcl+56yrhBQEqqO6ftY8TQ== Date: Wed, 25 Sep 2024 10:23:33 +0200 From: Erik Wienhold To: vignesh C Cc: Pg Docs Subject: Re: Title updation while documentation is generated using STYLE=website Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-09-25 07:23 +0200, vignesh C wrote: > While building the documentation with make STYLE=website html, I > noticed inconsistencies in the formatting of the starting letter of > each word in the titles. For instance: > "Obtaining Information about an Error" becomes "Obtaining Information > About An Error" in html/plpgsql-control-structures.html. > "Multiple Statements in a Simple Query" changes to "Multiple > Statements In A Simple Query" in html/protocol-flow.html. > "Returning from a Function" remains unchanged in > html/plpgsql-control-structures.html. > "Obtaining Information about an Error" is also unchanged in > html/plpgsql-control-structures.html. > "RETURN NEXT and RETURN QUERY" changes to "RETURN NEXT And RETURN > QUERY" in html/plpgsql-control-structures.html. > > There are many similar cases throughout the code. > > I believe this might be related to the stylesheet, as the original > text appears intact when I copy the generated HTML and paste it into > Notepad. I could not get details about this from [1]. > How is the styling being applied for the titles? Please share the link > to this if it is available. > > [1] - https://www.postgresql.org/docs/current/docguide-build.html I agree, it looks inconsistent. The page loads stylesheet [1] which then loads [2]. See [3] for the relevant rule. As I understand it, this is the stylesheet for the entire postgresql.org website, not just the docs. I checked a couple of non-docs pages but couldn't find any

elements. So, not sure if the text-transform property is even relevant to other pages. [1] https://www.postgresql.org/media/css/docs-complete.css [2] https://www.postgresql.org/media/css/main.css [3] https://git.postgresql.org/gitweb/?p=pgweb.git;a=blob;f=media/css/main.css;h=cbfea862ed79fc338ee571265c28626dc38765ca;hb=HEAD#l301 -- Erik