Re: [PATCH v2] wwwdocs: add a Python postprocessing script

2025-02-14 Thread Jonathan Wakely
On Fri, 14 Feb 2025 at 07:22, Gerald Pfeifer wrote: > > On Fri, 24 Jan 2025, David Malcolm wrote: > > The attached patch adds a postprocessing step to "bin" that > > turns e.g. > > TEXT > > to: > > TEXT > > It looks like this is causing an issue for (at least) one of our pages. > > http://gcc.

Re: [PATCH v2] wwwdocs: add a Python postprocessing script

2025-02-13 Thread Gerald Pfeifer
On Fri, 24 Jan 2025, David Malcolm wrote: > The attached patch adds a postprocessing step to "bin" that > turns e.g. > TEXT > to: > TEXT It looks like this is causing an issue for (at least) one of our pages. http://gcc.gnu.org/projects/cxx-status.html no longer validates with Error: Sta

Re: [PATCH v2] wwwdocs: add a Python postprocessing script

2025-01-31 Thread Gerald Pfeifer
On Wed, 29 Jan 2025, David Malcolm wrote: >> python3: can't open file '/www/gcc/htdocs- >> preformatted/bin/process_html.py': [Errno 2] No such file or directory >> bin/process_html.py failed; aborting. >> >> I tried replacing this with just "process_html.py" or >> "./process_html.py", >> alas

Re: [PATCH v2] wwwdocs: add a Python postprocessing script

2025-01-29 Thread David Malcolm
On Thu, 2025-01-30 at 00:31 +0800, Gerald Pfeifer wrote: > On Fri, 24 Jan 2025, David Malcolm wrote: > > Changed in v2: rather than replacing "mhc", this version runs the > > output from mhc through the Python script. > > Unless I'm missing something that makes sense, yes. > > > With this approac

Re: [PATCH v2] wwwdocs: add a Python postprocessing script

2025-01-29 Thread Gerald Pfeifer
On Fri, 24 Jan 2025, David Malcolm wrote: > Changed in v2: rather than replacing "mhc", this version runs the > output from mhc through the Python script. Unless I'm missing something that makes sense, yes. > With this approach we could gradually move parts of the mhc > functionality into the pyt

[PATCH v2] wwwdocs: add a Python postprocessing script

2025-01-24 Thread David Malcolm
Changed in v2: rather than replacing "mhc", this version runs the output from mhc through the Python script. I tested this via "MHC=cat", and the output appears identical to the previous build I uploaded to: https://dmalcolm.fedorapeople.org/gcc/2025-01-15/htdocs/ You can see e.g. the easily cli