public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Links to web pages are broken.
@ 2022-11-10 14:45 Georg-Johann Lay
  2022-11-10 15:05 ` Martin Liška
  0 siblings, 1 reply; 11+ messages in thread
From: Georg-Johann Lay @ 2022-11-10 14:45 UTC (permalink / raw)
  To: gcc

Hi, I just observed that links like

https://gcc.gnu.org/install/configure.html

ceased to work.  Presumably this is to sphinx stuff, but it would be 
great if not hundreds of links across the web to GCC pages like the 
above would be 404.

I know that the new link is

https://gcc.gnu.org/install/configuration.html

but that doesn't help with existing pointers.

"Deep" links like https://gcc.gnu.org/install/configuration.html#avr

won't work either, so all reasonable anchors have been ditched, too?

Johann

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Links to web pages are broken.
  2022-11-10 14:45 Links to web pages are broken Georg-Johann Lay
@ 2022-11-10 15:05 ` Martin Liška
  2022-11-10 15:17   ` Georg-Johann Lay
  0 siblings, 1 reply; 11+ messages in thread
From: Martin Liška @ 2022-11-10 15:05 UTC (permalink / raw)
  To: Georg-Johann Lay, gcc; +Cc: Jonathan Wakely

On 11/10/22 15:45, Georg-Johann Lay wrote:
> Hi, I just observed that links like
> 
> https://gcc.gnu.org/install/configure.html
> 
> ceased to work.  Presumably this is to sphinx stuff, but it would be great if not hundreds of links across the web to GCC pages like the above would be 404.
> 
> I know that the new link is
> 
> https://gcc.gnu.org/install/configuration.html
> 
> but that doesn't help with existing pointers.
> 
> "Deep" links like https://gcc.gnu.org/install/configuration.html#avr
> 
> won't work either, so all reasonable anchors have been ditched, too?
> 
> Johann

Hello.

We're working on that and we'll create a redirection:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610

Thanks for pointing out.

Martin

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Links to web pages are broken.
  2022-11-10 15:05 ` Martin Liška
@ 2022-11-10 15:17   ` Georg-Johann Lay
  2022-11-10 15:23     ` Jonathan Wakely
  0 siblings, 1 reply; 11+ messages in thread
From: Georg-Johann Lay @ 2022-11-10 15:17 UTC (permalink / raw)
  To: Martin Liška, gcc; +Cc: Jonathan Wakely



Am 10.11.22 um 16:05 schrieb Martin Liška:
> On 11/10/22 15:45, Georg-Johann Lay wrote:
>> Hi, I just observed that links like
>>
>> https://gcc.gnu.org/install/configure.html
>>
>> ceased to work.  Presumably this is to sphinx stuff, but it would be 
>> great if not hundreds of links across the web to GCC pages like the 
>> above would be 404.
>>
>> I know that the new link is
>>
>> https://gcc.gnu.org/install/configuration.html
>>
>> but that doesn't help with existing pointers.
>>
>> "Deep" links like https://gcc.gnu.org/install/configuration.html#avr
>>
>> won't work either, so all reasonable anchors have been ditched, too?
>>
>> Johann
> 
> Hello.
> 
> We're working on that and we'll create a redirection:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610
> 
> Thanks for pointing out.
> 
> Martin

Ok thanks, I left a note there.

Johann


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Links to web pages are broken.
  2022-11-10 15:17   ` Georg-Johann Lay
@ 2022-11-10 15:23     ` Jonathan Wakely
  2022-11-10 15:25       ` Jonathan Wakely
  0 siblings, 1 reply; 11+ messages in thread
From: Jonathan Wakely @ 2022-11-10 15:23 UTC (permalink / raw)
  To: Georg-Johann Lay; +Cc: Martin Liška, gcc

On Thu, 10 Nov 2022 at 15:17, Georg-Johann Lay <avr@gjlay.de> wrote:
>
>
>
> Am 10.11.22 um 16:05 schrieb Martin Liška:
> > On 11/10/22 15:45, Georg-Johann Lay wrote:
> >> Hi, I just observed that links like
> >>
> >> https://gcc.gnu.org/install/configure.html
> >>
> >> ceased to work.  Presumably this is to sphinx stuff, but it would be
> >> great if not hundreds of links across the web to GCC pages like the
> >> above would be 404.
> >>
> >> I know that the new link is
> >>
> >> https://gcc.gnu.org/install/configuration.html
> >>
> >> but that doesn't help with existing pointers.
> >>
> >> "Deep" links like https://gcc.gnu.org/install/configuration.html#avr
> >>
> >> won't work either, so all reasonable anchors have been ditched, too?
> >>
> >> Johann
> >
> > Hello.
> >
> > We're working on that and we'll create a redirection:
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610
> >
> > Thanks for pointing out.
> >
> > Martin
>
> Ok thanks, I left a note there.

The second part of your note about deep links into the new docs is a
completely separate issue. That can't be fixed with HTTP redirects for
the old URLs.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Links to web pages are broken.
  2022-11-10 15:23     ` Jonathan Wakely
@ 2022-11-10 15:25       ` Jonathan Wakely
  2022-11-10 16:44         ` Georg-Johann Lay
  0 siblings, 1 reply; 11+ messages in thread
From: Jonathan Wakely @ 2022-11-10 15:25 UTC (permalink / raw)
  To: Georg-Johann Lay; +Cc: Martin Liška, gcc

On Thu, 10 Nov 2022 at 15:23, Jonathan Wakely <jwakely@redhat.com> wrote:
>
> On Thu, 10 Nov 2022 at 15:17, Georg-Johann Lay <avr@gjlay.de> wrote:
> >
> >
> >
> > Am 10.11.22 um 16:05 schrieb Martin Liška:
> > > On 11/10/22 15:45, Georg-Johann Lay wrote:
> > >> Hi, I just observed that links like
> > >>
> > >> https://gcc.gnu.org/install/configure.html
> > >>
> > >> ceased to work.  Presumably this is to sphinx stuff, but it would be
> > >> great if not hundreds of links across the web to GCC pages like the
> > >> above would be 404.
> > >>
> > >> I know that the new link is
> > >>
> > >> https://gcc.gnu.org/install/configuration.html
> > >>
> > >> but that doesn't help with existing pointers.
> > >>
> > >> "Deep" links like https://gcc.gnu.org/install/configuration.html#avr
> > >>
> > >> won't work either, so all reasonable anchors have been ditched, too?
> > >>
> > >> Johann
> > >
> > > Hello.
> > >
> > > We're working on that and we'll create a redirection:
> > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610
> > >
> > > Thanks for pointing out.
> > >
> > > Martin
> >
> > Ok thanks, I left a note there.
>
> The second part of your note about deep links into the new docs is a
> completely separate issue. That can't be fixed with HTTP redirects for
> the old URLs.

And there are still anchors, they're just different:
https://gcc.gnu.org/install/configuration.html#cmdoption-with-avrlibc
Now there are anchors to every single option, which is much better
than it used to be.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Links to web pages are broken.
  2022-11-10 15:25       ` Jonathan Wakely
@ 2022-11-10 16:44         ` Georg-Johann Lay
  2022-11-10 16:58           ` Richard Biener
  0 siblings, 1 reply; 11+ messages in thread
From: Georg-Johann Lay @ 2022-11-10 16:44 UTC (permalink / raw)
  To: Jonathan Wakely; +Cc: Martin Liška, gcc



Am 10.11.22 um 16:25 schrieb Jonathan Wakely:
> On Thu, 10 Nov 2022 at 15:23, Jonathan Wakely <jwakely@redhat.com> wrote:
>>
>> On Thu, 10 Nov 2022 at 15:17, Georg-Johann Lay <avr@gjlay.de> wrote:
>>>
>>>
>>>
>>> Am 10.11.22 um 16:05 schrieb Martin Liška:
>>>> On 11/10/22 15:45, Georg-Johann Lay wrote:
>>>>> Hi, I just observed that links like
>>>>>
>>>>> https://gcc.gnu.org/install/configure.html
>>>>>
>>>>> ceased to work.  Presumably this is to sphinx stuff, but it would be
>>>>> great if not hundreds of links across the web to GCC pages like the
>>>>> above would be 404.
>>>>>
>>>>> I know that the new link is
>>>>>
>>>>> https://gcc.gnu.org/install/configuration.html
>>>>>
>>>>> but that doesn't help with existing pointers.
>>>>>
>>>>> "Deep" links like https://gcc.gnu.org/install/configuration.html#avr
>>>>>
>>>>> won't work either, so all reasonable anchors have been ditched, too?
>>>>>
>>>>> Johann
>>>>
>>>> Hello.
>>>>
>>>> We're working on that and we'll create a redirection:
>>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610
>>>>
>>>> Thanks for pointing out.
>>>>
>>>> Martin
>>>
>>> Ok thanks, I left a note there.
>>
>> The second part of your note about deep links into the new docs is a
>> completely separate issue. That can't be fixed with HTTP redirects for
>> the old URLs.
> 
> And there are still anchors, they're just different:
> https://gcc.gnu.org/install/configuration.html#cmdoption-with-avrlibc
> Now there are anchors to every single option, which is much better
> than it used to be.

Yes, its nice.  But existing links are still invalidated.  Just take 
some tutorial that explains how to set up gcc, where you want to provide 
references that are point-on and not just "gcc.gnu.org".

Does this also mean that "deep" links to onlinedocs won't work any more?

Johann



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Links to web pages are broken.
  2022-11-10 16:44         ` Georg-Johann Lay
@ 2022-11-10 16:58           ` Richard Biener
  2022-11-10 17:01             ` Jonathan Wakely
  0 siblings, 1 reply; 11+ messages in thread
From: Richard Biener @ 2022-11-10 16:58 UTC (permalink / raw)
  To: Georg-Johann Lay; +Cc: Jonathan Wakely, Martin Liška, gcc



> Am 10.11.2022 um 17:45 schrieb Georg-Johann Lay <avr@gjlay.de>:
> 
> 
> 
>> Am 10.11.22 um 16:25 schrieb Jonathan Wakely:
>>> On Thu, 10 Nov 2022 at 15:23, Jonathan Wakely <jwakely@redhat.com> wrote:
>>> 
>>> On Thu, 10 Nov 2022 at 15:17, Georg-Johann Lay <avr@gjlay.de> wrote:
>>>> 
>>>> 
>>>> 
>>>> Am 10.11.22 um 16:05 schrieb Martin Liška:
>>>>> On 11/10/22 15:45, Georg-Johann Lay wrote:
>>>>>> Hi, I just observed that links like
>>>>>> 
>>>>>> https://gcc.gnu.org/install/configure.html
>>>>>> 
>>>>>> ceased to work.  Presumably this is to sphinx stuff, but it would be
>>>>>> great if not hundreds of links across the web to GCC pages like the
>>>>>> above would be 404.
>>>>>> 
>>>>>> I know that the new link is
>>>>>> 
>>>>>> https://gcc.gnu.org/install/configuration.html
>>>>>> 
>>>>>> but that doesn't help with existing pointers.
>>>>>> 
>>>>>> "Deep" links like https://gcc.gnu.org/install/configuration.html#avr
>>>>>> 
>>>>>> won't work either, so all reasonable anchors have been ditched, too?
>>>>>> 
>>>>>> Johann
>>>>> 
>>>>> Hello.
>>>>> 
>>>>> We're working on that and we'll create a redirection:
>>>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610
>>>>> 
>>>>> Thanks for pointing out.
>>>>> 
>>>>> Martin
>>>> 
>>>> Ok thanks, I left a note there.
>>> 
>>> The second part of your note about deep links into the new docs is a
>>> completely separate issue. That can't be fixed with HTTP redirects for
>>> the old URLs.
>> And there are still anchors, they're just different:
>> https://gcc.gnu.org/install/configuration.html#cmdoption-with-avrlibc
>> Now there are anchors to every single option, which is much better
>> than it used to be.
> 
> Yes, its nice.  But existing links are still invalidated.  Just take some tutorial that explains how to set up gcc, where you want to provide references that are point-on and not just "gcc.gnu.org".
> 
> Does this also mean that "deep" links to onlinedocs won't work any more?

How about moving the new docs to
onlinedocs-new/ and simply keeping the old
Doc tree around?  Re-using the old dir looks like a mistake in hindsight?

Richard 

> Johann
> 
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Links to web pages are broken.
  2022-11-10 16:58           ` Richard Biener
@ 2022-11-10 17:01             ` Jonathan Wakely
  2022-11-11  8:48               ` Martin Liška
  0 siblings, 1 reply; 11+ messages in thread
From: Jonathan Wakely @ 2022-11-10 17:01 UTC (permalink / raw)
  To: Richard Biener; +Cc: Georg-Johann Lay, Martin Liška, gcc

On Thu, 10 Nov 2022 at 16:58, Richard Biener <richard.guenther@gmail.com> wrote:
>
>
>
> > Am 10.11.2022 um 17:45 schrieb Georg-Johann Lay <avr@gjlay.de>:
> >
> > 
> >
> >> Am 10.11.22 um 16:25 schrieb Jonathan Wakely:
> >>> On Thu, 10 Nov 2022 at 15:23, Jonathan Wakely <jwakely@redhat.com> wrote:
> >>>
> >>> On Thu, 10 Nov 2022 at 15:17, Georg-Johann Lay <avr@gjlay.de> wrote:
> >>>>
> >>>>
> >>>>
> >>>> Am 10.11.22 um 16:05 schrieb Martin Liška:
> >>>>> On 11/10/22 15:45, Georg-Johann Lay wrote:
> >>>>>> Hi, I just observed that links like
> >>>>>>
> >>>>>> https://gcc.gnu.org/install/configure.html
> >>>>>>
> >>>>>> ceased to work.  Presumably this is to sphinx stuff, but it would be
> >>>>>> great if not hundreds of links across the web to GCC pages like the
> >>>>>> above would be 404.
> >>>>>>
> >>>>>> I know that the new link is
> >>>>>>
> >>>>>> https://gcc.gnu.org/install/configuration.html
> >>>>>>
> >>>>>> but that doesn't help with existing pointers.
> >>>>>>
> >>>>>> "Deep" links like https://gcc.gnu.org/install/configuration.html#avr
> >>>>>>
> >>>>>> won't work either, so all reasonable anchors have been ditched, too?
> >>>>>>
> >>>>>> Johann
> >>>>>
> >>>>> Hello.
> >>>>>
> >>>>> We're working on that and we'll create a redirection:
> >>>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610
> >>>>>
> >>>>> Thanks for pointing out.
> >>>>>
> >>>>> Martin
> >>>>
> >>>> Ok thanks, I left a note there.
> >>>
> >>> The second part of your note about deep links into the new docs is a
> >>> completely separate issue. That can't be fixed with HTTP redirects for
> >>> the old URLs.
> >> And there are still anchors, they're just different:
> >> https://gcc.gnu.org/install/configuration.html#cmdoption-with-avrlibc
> >> Now there are anchors to every single option, which is much better
> >> than it used to be.
> >
> > Yes, its nice.  But existing links are still invalidated.  Just take some tutorial that explains how to set up gcc, where you want to provide references that are point-on and not just "gcc.gnu.org".
> >
> > Does this also mean that "deep" links to onlinedocs won't work any more?
>
> How about moving the new docs to
> onlinedocs-new/ and simply keeping the old
> Doc tree around?  Re-using the old dir looks like a mistake in hindsight?

Maybe just "docs" or "trunkdocs" or "latestdocs" instead of
"onlinedocs-new", since that is (1) very long, and (2) will look silly
in ten years when it's not new and we need to add
onlinedocs-even-newer ;-)

Or even onlinedocs/latest/ for the new stuff, and leave the old stuff
there in onlinedocs/ (without linking to it) so that old links work.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Links to web pages are broken.
  2022-11-10 17:01             ` Jonathan Wakely
@ 2022-11-11  8:48               ` Martin Liška
  2022-11-11 12:14                 ` Georg-Johann Lay
  0 siblings, 1 reply; 11+ messages in thread
From: Martin Liška @ 2022-11-11  8:48 UTC (permalink / raw)
  To: Jonathan Wakely, Richard Biener; +Cc: Georg-Johann Lay, gcc, Gerald Pfeifer

On 11/10/22 18:01, Jonathan Wakely wrote:
> Maybe just "docs" or "trunkdocs" or "latestdocs" instead of
> "onlinedocs-new", since that is (1) very long, and (2) will look silly
> in ten years when it's not new and we need to add
> onlinedocs-even-newer 😉

I do support it, it would be probably nicer than the complicated Rewrite rule
Jonathan prepared.

> 
> Or even onlinedocs/latest/ for the new stuff, and leave the old stuff
> there in onlinedocs/ (without linking to it) so that old links work.

I think we should add a new HTML header to the older documentation
saying that's legacy. Something one can see here:
https://matplotlib.org/3.3.4/tutorials/index.html

Martin

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Links to web pages are broken.
  2022-11-11  8:48               ` Martin Liška
@ 2022-11-11 12:14                 ` Georg-Johann Lay
  2022-11-11 12:31                   ` Martin Liška
  0 siblings, 1 reply; 11+ messages in thread
From: Georg-Johann Lay @ 2022-11-11 12:14 UTC (permalink / raw)
  To: Martin Liška, Jonathan Wakely, Richard Biener; +Cc: gcc, Gerald Pfeifer



Am 11.11.22 um 09:48 schrieb Martin Liška:
> On 11/10/22 18:01, Jonathan Wakely wrote:
>> Maybe just "docs" or "trunkdocs" or "latestdocs" instead of
>> "onlinedocs-new", since that is (1) very long, and (2) will look silly
>> in ten years when it's not new and we need to add
>> onlinedocs-even-newer 😉
> 
> I do support it, it would be probably nicer than the complicated Rewrite rule
> Jonathan prepared.
> 
>>
>> Or even onlinedocs/latest/ for the new stuff, and leave the old stuff
>> there in onlinedocs/ (without linking to it) so that old links work.
> 
> I think we should add a new HTML header to the older documentation
> saying that's legacy. Something one can see here:
> https://matplotlib.org/3.3.4/tutorials/index.html
> 
> Martin

Why it's legacy?

If I want docs for v12.2, then I don't care whether its generated by 
sphinx or texinfo.

Just using a different documentation system won't render the very 
content legacy?

I think it's a good idea to keep the old docs under their known URLs.


BTW, also search results from search engines are all 404.


Johann



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Links to web pages are broken.
  2022-11-11 12:14                 ` Georg-Johann Lay
@ 2022-11-11 12:31                   ` Martin Liška
  0 siblings, 0 replies; 11+ messages in thread
From: Martin Liška @ 2022-11-11 12:31 UTC (permalink / raw)
  To: Georg-Johann Lay, Jonathan Wakely, Richard Biener; +Cc: gcc, Gerald Pfeifer

On 11/11/22 13:14, Georg-Johann Lay wrote:
> 
> 
> Am 11.11.22 um 09:48 schrieb Martin Liška:
>> On 11/10/22 18:01, Jonathan Wakely wrote:
>>> Maybe just "docs" or "trunkdocs" or "latestdocs" instead of
>>> "onlinedocs-new", since that is (1) very long, and (2) will look silly
>>> in ten years when it's not new and we need to add
>>> onlinedocs-even-newer 😉
>>
>> I do support it, it would be probably nicer than the complicated Rewrite rule
>> Jonathan prepared.
>>
>>>
>>> Or even onlinedocs/latest/ for the new stuff, and leave the old stuff
>>> there in onlinedocs/ (without linking to it) so that old links work.
>>
>> I think we should add a new HTML header to the older documentation
>> saying that's legacy. Something one can see here:
>> https://matplotlib.org/3.3.4/tutorials/index.html
>>
>> Martin
> 
> Why it's legacy?
> 
> If I want docs for v12.2, then I don't care whether its generated by sphinx or texinfo.
> 
> Just using a different documentation system won't render the very content legacy?

Sure, that will be very same story only we'll have an older releases using Sphinx.
I'm not fully convinced, but e.g. adding the banner for all unsupported branches seems
reasonable to me. But I don't have a strong opinion about it.

> 
> I think it's a good idea to keep the old docs under their known URLs.
> 
> 
> BTW, also search results from search engines are all 404.

You mean Google links, right? Correct, so that's why we incline now to keeping
old links and introducing a new url /docs

Thanks for comments,
Martin

> 
> 
> Johann
> 
> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-11-11 12:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 14:45 Links to web pages are broken Georg-Johann Lay
2022-11-10 15:05 ` Martin Liška
2022-11-10 15:17   ` Georg-Johann Lay
2022-11-10 15:23     ` Jonathan Wakely
2022-11-10 15:25       ` Jonathan Wakely
2022-11-10 16:44         ` Georg-Johann Lay
2022-11-10 16:58           ` Richard Biener
2022-11-10 17:01             ` Jonathan Wakely
2022-11-11  8:48               ` Martin Liška
2022-11-11 12:14                 ` Georg-Johann Lay
2022-11-11 12:31                   ` Martin Liška

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).