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 <details> 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