Thread: CSS/JS 404 issues with documentation on postgresql.org

CSS/JS 404 issues with documentation on postgresql.org

From
Peter Geoghegan
Date:
Chrome "inspect" gives the following three warnings about the
documentation on the live website (doesn't matter which page I view,
nor which branch of the docs):

1. DevTools failed to load source map: Could not load content for
https://www.postgresql.org/media/js/popper.min.js.map: HTTP error:
status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

2. DevTools failed to load source map: Could not load content for
https://www.postgresql.org/media/css/bootstrap.min.css.map: HTTP
error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

3. DevTools failed to load source map: Could not load content for
https://www.postgresql.org/media/js/bootstrap.min.js.map: HTTP error:
status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

I've also noticed a possibly-related regression in the diagram of the
page layout, from
https://www.postgresql.org/docs/devel/storage-page-layout.html. This
same diagram has been involved in similar website regressions on at
least a couple of other occasions in the past.

I notice that the diagram is abnormally large when viewed on the
website, whereas if I build the docs locally I see a diagram that
seems to have the original intended scale (I think so, at least).

The local build of the docs only has one warning out of the three from
the live website:

Tools failed to load source map: Could not load content for
https://www.postgresql.org/media/css/bootstrap.min.css.map: HTTP
error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

(Matches warning #2 from the live website)

-- 
Peter Geoghegan

Attachment

Re: CSS/JS 404 issues with documentation on postgresql.org

From
"Jonathan S. Katz"
Date:
On 4/13/23 2:18 PM, Peter Geoghegan wrote:
> Chrome "inspect" gives the following three warnings about the
> documentation on the live website (doesn't matter which page I view,
> nor which branch of the docs):

Thread here with proposals:

https://www.postgresql.org/message-id/20230308190851.mc2khkfsjhu4cimp%40alvherre.pgsql

Jonathan

Attachment