From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id A55CE3858D33 for ; Wed, 9 Nov 2022 19:36:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A55CE3858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 8C7001FE91; Wed, 9 Nov 2022 19:36:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1668022592; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WMA1jCQNL0cGZNrKvNb9TTAOrjrpOf8Gn5KoJ8M8nbk=; b=PWzv5lQXvEF5+Ju0tA/PXNfPijQ8JQSdOnSfANuBGR7zNjhyWyAnW5CYLA2q3TYg7XXP19 iy5giOHO0uylEkJ3qTLT3jVrPo9r3cM+q0RITKFpI0VfePMdO4J1qutQocfS/OVG2OMgQo Yv3zXcL93gUETBarI+PJ1E0XJCzaGgQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1668022592; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=WMA1jCQNL0cGZNrKvNb9TTAOrjrpOf8Gn5KoJ8M8nbk=; b=/S0NyC3xum+MDlH+qgm7OE3GPNLSTGX9L1C87pdEeC+Lx8UwYXNuIAQK7g7a6NVlZXQe9N /L0LiRm+gzcAGUDw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 72654139F1; Wed, 9 Nov 2022 19:36:32 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id sK+2GkABbGOWUgAAMHmgww (envelope-from ); Wed, 09 Nov 2022 19:36:32 +0000 Message-ID: <2b92b94f-1593-daa5-9f9c-ece4af2be922@suse.cz> Date: Wed, 9 Nov 2022 20:36:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [RFC] docs: remove documentation for unsupported releases Content-Language: en-US To: Alexander Monakov Cc: gcc-patches@gcc.gnu.org, Gerald Pfeifer References: <70755dd7-6b64-d24b-560d-b5433c9cc344@suse.cz> <4281e5af-ac34-1f2e-e1a4-b017423637e6@ispras.ru> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: <4281e5af-ac34-1f2e-e1a4-b017423637e6@ispras.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_SOFTFAIL,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 11/9/22 20:32, Alexander Monakov wrote: > > On Wed, 9 Nov 2022, Martin Liška wrote: > >> Hi. >> >> I think we should remove documentation for unsupported GCC releases >> as it's indexed by Google engine. > > I'd agree with previous responses that outright removing the links is > undesirable, and pointing Google to recent documentation should be done > by annotating links, e.g. via rel=canonical as indicated by Joseph. > > I would add that adding rel=canonical links seems doable without modifying > old files, by configuring the web server to add HTTP Link: header. > >> Second reason is that the page is long >> one one can't easily jump to Current development documentation. > > For this I would suggest using the
tag to neatly fold links for > old releases. Please see the attached patch. I do support the patch. It should help with the Google indexing (maybe). Martin > > Alexander