public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug web/107610] New: Broken 'onlinedocs' after "Porting the Docs to Sphinx"
@ 2022-11-10 10:34 tschwinge at gcc dot gnu.org
  2022-11-10 11:17 ` [Bug web/107610] " jgreenhalgh at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2022-11-10 10:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610

            Bug ID: 107610
           Summary: Broken 'onlinedocs' after "Porting the Docs to Sphinx"
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: documentation
          Severity: major
          Priority: P3
         Component: web
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

I notice broken 'onlinedocs' after "Porting the Docs to Sphinx", such as:
<https://gcc.gnu.org/onlinedocs/gccint/Directives.html#Specify-additional-compiler-options>,
<https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html>, or
<https://gcc.gnu.org/onlinedocs/gccint/Directives.html#Verify-compiler-messages>,
for example, which currently return "404 Not Found".

There are a lot of such references in external pages, which we should keep
working as much as feasible.

I thought I'd seen some discussion in IRC yesterday that this has been
addressed, but evidently it's not (completely?).

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

* [Bug web/107610] Broken 'onlinedocs' after "Porting the Docs to Sphinx"
  2022-11-10 10:34 [Bug web/107610] New: Broken 'onlinedocs' after "Porting the Docs to Sphinx" tschwinge at gcc dot gnu.org
@ 2022-11-10 11:17 ` jgreenhalgh at gcc dot gnu.org
  2022-11-10 11:44 ` redi at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: jgreenhalgh at gcc dot gnu.org @ 2022-11-10 11:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610

James Greenhalgh <jgreenhalgh at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-11-10
     Ever confirmed|0                           |1
                 CC|                            |jgreenhalgh at gcc dot gnu.org

--- Comment #1 from James Greenhalgh <jgreenhalgh at gcc dot gnu.org> ---
Confirming - I also found this when search results pointed me to
https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html - which failed.

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

* [Bug web/107610] Broken 'onlinedocs' after "Porting the Docs to Sphinx"
  2022-11-10 10:34 [Bug web/107610] New: Broken 'onlinedocs' after "Porting the Docs to Sphinx" tschwinge at gcc dot gnu.org
  2022-11-10 11:17 ` [Bug web/107610] " jgreenhalgh at gcc dot gnu.org
@ 2022-11-10 11:44 ` redi at gcc dot gnu.org
  2022-11-10 11:58 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2022-11-10 11:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I posted a patch adding http redirects:
https://gcc.gnu.org/pipermail/gcc-patches/2022-November/605528.html

The discussion on IRC was about doing that, not that it's already fixed.

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

* [Bug web/107610] Broken 'onlinedocs' after "Porting the Docs to Sphinx"
  2022-11-10 10:34 [Bug web/107610] New: Broken 'onlinedocs' after "Porting the Docs to Sphinx" tschwinge at gcc dot gnu.org
  2022-11-10 11:17 ` [Bug web/107610] " jgreenhalgh at gcc dot gnu.org
  2022-11-10 11:44 ` redi at gcc dot gnu.org
@ 2022-11-10 11:58 ` redi at gcc dot gnu.org
  2022-11-10 12:28 ` redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2022-11-10 11:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I've (temporarily) installed the redirects in a .htaccess on my own site so you
can test them.

Just replace "gcc.gnu.org" with "kayari.org" to check that it redirects to a
valid page of the gcc-12.2.0 docs:

https://kayari.org/onlinedocs/gccint/Test-Directives.html#Test-Directives
https://kayari.org/onlinedocs/gcc/Function-Attributes.html

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

* [Bug web/107610] Broken 'onlinedocs' after "Porting the Docs to Sphinx"
  2022-11-10 10:34 [Bug web/107610] New: Broken 'onlinedocs' after "Porting the Docs to Sphinx" tschwinge at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2022-11-10 11:58 ` redi at gcc dot gnu.org
@ 2022-11-10 12:28 ` redi at gcc dot gnu.org
  2022-11-10 15:16 ` gjl at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: redi at gcc dot gnu.org @ 2022-11-10 12:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |redi at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

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

* [Bug web/107610] Broken 'onlinedocs' after "Porting the Docs to Sphinx"
  2022-11-10 10:34 [Bug web/107610] New: Broken 'onlinedocs' after "Porting the Docs to Sphinx" tschwinge at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2022-11-10 12:28 ` redi at gcc dot gnu.org
@ 2022-11-10 15:16 ` gjl at gcc dot gnu.org
  2022-11-11 10:35 ` marxin at gcc dot gnu.org
  2022-11-14  8:44 ` marxin at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: gjl at gcc dot gnu.org @ 2022-11-10 15:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610

--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Also affected are other bits of the web page that are auto-generated, like

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

And with the new URLs, "deep" links like

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

ceased to work, too, even though the old ./gcc/doc/install.texi generated
(working) anchors like:

@html
<a name="avr"></a>
@end html
@item --with-avrlibc

So the porting-to-sphinx dropped them, which is really sad.

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

* [Bug web/107610] Broken 'onlinedocs' after "Porting the Docs to Sphinx"
  2022-11-10 10:34 [Bug web/107610] New: Broken 'onlinedocs' after "Porting the Docs to Sphinx" tschwinge at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2022-11-10 15:16 ` gjl at gcc dot gnu.org
@ 2022-11-11 10:35 ` marxin at gcc dot gnu.org
  2022-11-14  8:44 ` marxin at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-11-11 10:35 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
There's an alternative suggestion that would basically keep old documentation
where it used to be. For the new one, we'll use a new url base:
https://gcc.gnu.org/docs:

https://gcc.gnu.org/pipermail/gcc-patches/2022-November/605722.html

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

* [Bug web/107610] Broken 'onlinedocs' after "Porting the Docs to Sphinx"
  2022-11-10 10:34 [Bug web/107610] New: Broken 'onlinedocs' after "Porting the Docs to Sphinx" tschwinge at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2022-11-11 10:35 ` marxin at gcc dot gnu.org
@ 2022-11-14  8:44 ` marxin at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-11-14  8:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107610

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|ASSIGNED                    |RESOLVED

--- Comment #6 from Martin Liška <marxin at gcc dot gnu.org> ---
The Sphinx documentation has been reverted:
https://gcc.gnu.org/pipermail/gcc/2022-November/239983.html

Thus, I'm closing this as won't fix.

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

end of thread, other threads:[~2022-11-14  8:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 10:34 [Bug web/107610] New: Broken 'onlinedocs' after "Porting the Docs to Sphinx" tschwinge at gcc dot gnu.org
2022-11-10 11:17 ` [Bug web/107610] " jgreenhalgh at gcc dot gnu.org
2022-11-10 11:44 ` redi at gcc dot gnu.org
2022-11-10 11:58 ` redi at gcc dot gnu.org
2022-11-10 12:28 ` redi at gcc dot gnu.org
2022-11-10 15:16 ` gjl at gcc dot gnu.org
2022-11-11 10:35 ` marxin at gcc dot gnu.org
2022-11-14  8:44 ` marxin at gcc dot gnu.org

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).